Changeset 25713 in osm
- Timestamp:
- 2011-03-25T17:34:52+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/relcontext/src/relcontext/RelContextDialog.java
r25711 r25713 64 64 private MultipolygonSettingsPopup multiPopupMenu; 65 65 private RoleComboBoxModel roleBoxModel; 66 private SortAndFixAction sortAndFixAction; 66 67 67 68 public RelContextDialog() { … … 111 112 chosenRelationPanel.add(chosenRelationComponent, GBC.std().fill().insets(5, 0, 5, 0)); 112 113 chosenRelationPanel.add(roleBox, GBC.std().fill().insets(5, 0, 5, 0)); 113 final ActionsortAndFixAction = new SortAndFixAction(chosenRelation);114 final JButton sortAndFixButton = (JButton) sizeButton(new JButton(sortAndFixAction), 32, 24);115 chosenRelationPanel.add(sortAndFixButton, GBC.std() );114 sortAndFixAction = new SortAndFixAction(chosenRelation); 115 final JButton sortAndFixButton = (JButton) sizeButton(new JButton(sortAndFixAction), 32, 0); 116 chosenRelationPanel.add(sortAndFixButton, GBC.std().fill(GBC.VERTICAL)); 116 117 final Action downloadChosenRelationAction = new DownloadChosenRelationAction(chosenRelation); 117 final JButton downloadButton = (JButton) sizeButton(new JButton(downloadChosenRelationAction), 32, 24);118 chosenRelationPanel.add(downloadButton, GBC.std() );118 final JButton downloadButton = (JButton) sizeButton(new JButton(downloadChosenRelationAction), 32, 0); 119 chosenRelationPanel.add(downloadButton, GBC.std().fill(GBC.VERTICAL)); 119 120 chosenRelationPanel.add(new JButton(new EditChosenRelationAction(chosenRelation)), GBC.eol().fill(GBC.VERTICAL)); 120 121 … … 274 275 // repopulate relations table 275 276 relationsData.setRowCount(0); 277 sortAndFixAction.chosenRelationChanged(chosenRelation.get(), chosenRelation.get()); 276 278 if( newSelection == null ) 277 279 return;
Note:
See TracChangeset
for help on using the changeset viewer.