Changeset 25677 in osm for applications/editors/josm/plugins/relcontext
- Timestamp:
- 2011-03-23T15:00:51+01:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/relcontext/src/relcontext
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/relcontext/src/relcontext/RelContextDialog.java
r25672 r25677 161 161 162 162 // [+][Multi] [X]Adm [X]Tags [X]1 163 JPanel bottomLine = new JPanel(new FlowLayout(FlowLayout.LEFT)); 164 bottomLine.add(new JButton(new CreateRelationAction(chosenRelation))); 165 bottomLine.add(new JButton(new CreateMultipolygonAction(chosenRelation))); 163 JPanel bottomLine = new JPanel(new GridBagLayout()); 164 bottomLine.add(new JButton(new CreateRelationAction(chosenRelation)), GBC.std()); 165 bottomLine.add(new JButton(new CreateMultipolygonAction(chosenRelation)), GBC.std()); 166 bottomLine.add(Box.createHorizontalGlue(), GBC.std().fill()); 167 bottomLine.add(new JButton(new FindRelationAction(chosenRelation)), GBC.eol()); 166 168 rcPanel.add(bottomLine, BorderLayout.SOUTH); 167 169 -
applications/editors/josm/plugins/relcontext/src/relcontext/actions/CreateRelationAction.java
r25672 r25677 9 9 import java.awt.event.ActionListener; 10 10 import java.util.Arrays; 11 import java.util.LinkedList;12 11 import java.util.List; 13 12 import javax.swing.Box; … … 19 18 import org.openstreetmap.josm.actions.JosmAction; 20 19 import org.openstreetmap.josm.command.AddCommand; 21 import org.openstreetmap.josm.command.Command;22 20 import org.openstreetmap.josm.data.osm.Relation; 23 21 import org.openstreetmap.josm.data.osm.RelationMember;
Note:
See TracChangeset
for help on using the changeset viewer.