Index: /applications/editors/josm/plugins/relcontext/TODO
===================================================================
--- /applications/editors/josm/plugins/relcontext/TODO	(revision 25685)
+++ /applications/editors/josm/plugins/relcontext/TODO	(revision 25685)
@@ -0,0 +1,23 @@
+- Choose less pompous and more suitable name for the plugin
+- Store all settings in preferences
+- Highlight chosen relation in relations list
+- Fix everything to work with multiple [editor] layers
+- "Add members" should search for connecting nodes among already present members
+- Create multipolygon settings button ">"
+- After creating multipolygon, move tags from outer to relation (setting "tags")
+- Choose whether creating multipoly or administrative boundary
+- Solve width problem for narrows buttons when "fix" and "download" appear simultaneously
+- Check all strings to be properly formulated, search for similar ones in josm core and plugins
+
+== BETA ==
+
+- Implement algorithm to construct rings from selection
+- Classify those rings (inner/outer) based on node tracing
+- Break touching rings of multipolygons
+- Option to create separate multipolygon for every outer ring
+
+== RELEASE ==
+
+- Construct rings using middle points of ways and break those ways (as an option)
+- Convert adjacing rings that need to be broken to multipolygons
+- Option to autodownload all ways that are being broken
Index: /applications/editors/josm/plugins/relcontext/src/relcontext/ChosenRelationComponent.java
===================================================================
--- /applications/editors/josm/plugins/relcontext/src/relcontext/ChosenRelationComponent.java	(revision 25684)
+++ /applications/editors/josm/plugins/relcontext/src/relcontext/ChosenRelationComponent.java	(revision 25685)
@@ -26,6 +26,10 @@
     }
     
-    private final static String[] typeKeys = new String[] {
-        "natural", "landuse", "place", "waterway", "leisure", "amenity"
+    private final static String[] TYPE_KEYS = new String[] {
+        "natural", "landuse", "place", "waterway", "leisure", "amenity", "restriction", "public_transport"
+    };
+
+    private final static String[] NAMING_TAGS = new String[] {
+        "name", "place_name", "ref", "note"
     };
 
@@ -39,13 +43,14 @@
 
         String tag = null;
-        for( int i = 0; i < typeKeys.length && tag == null; i++ )
-            if( rel.hasKey(typeKeys[i]))
-                tag = typeKeys[i];
+        for( int i = 0; i < TYPE_KEYS.length && tag == null; i++ )
+            if( rel.hasKey(TYPE_KEYS[i]))
+                tag = TYPE_KEYS[i];
         if( tag != null )
             tag = tag.substring(0, 2) + "=" + rel.get(tag);
 
-        String name = rel.get("name");
-        if( name == null && rel.hasKey("place_name") )
-            name = rel.get("place_name");
+        String name = null;
+        for( int i = 0; i < NAMING_TAGS.length && name == null; i++ )
+            if( rel.hasKey(NAMING_TAGS[i]) )
+                name = rel.get(NAMING_TAGS[i]);
 
         StringBuilder sb = new StringBuilder();
Index: /applications/editors/josm/plugins/relcontext/src/relcontext/RelContextDialog.java
===================================================================
--- /applications/editors/josm/plugins/relcontext/src/relcontext/RelContextDialog.java	(revision 25684)
+++ /applications/editors/josm/plugins/relcontext/src/relcontext/RelContextDialog.java	(revision 25685)
@@ -114,10 +114,10 @@
         topLine.add(chosenRelationComponent, GBC.std().fill().insets(5, 0, 5, 0));
         final Action sortAndFixAction = new SortAndFixAction(chosenRelation);
-        final JButton sortAndFixButton = new JButton(sortAndFixAction);
+        final JButton sortAndFixButton = (JButton) sizeButton(new JButton(sortAndFixAction), 32, 24);
         topLine.add(sortAndFixButton, GBC.std());
         final Action downloadChosenRelationAction = new DownloadChosenRelationAction(chosenRelation);
-        final JButton downloadButton = new JButton(downloadChosenRelationAction);
+        final JButton downloadButton = (JButton) sizeButton(new JButton(downloadChosenRelationAction), 32, 24);
         topLine.add(downloadButton, GBC.std());
-        topLine.add(new JButton(new EditChosenRelationAction(chosenRelation)), GBC.eol());
+        topLine.add(new JButton(new EditChosenRelationAction(chosenRelation)), GBC.eol().fill(GBC.VERTICAL));
 
         chosenRelationPanel.add(topLine, BorderLayout.CENTER);
