Changeset 25711 in osm for applications/editors/josm/plugins/relcontext/src/relcontext/actions
- Timestamp:
- 2011-03-25T16:40:33+01:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/relcontext/src/relcontext/actions
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/relcontext/src/relcontext/actions/DeleteChosenRelationAction.java
r25696 r25711 19 19 this.rel = rel; 20 20 rel.addChosenRelationListener(this); 21 setEnabled( false);21 setEnabled(rel.get() != null); 22 22 } 23 23 -
applications/editors/josm/plugins/relcontext/src/relcontext/actions/DownloadParentsAction.java
r25695 r25711 34 34 this.rel = rel; 35 35 rel.addChosenRelationListener(this); 36 setEnabled( false);36 setEnabled(rel.get() != null && Main.map.mapView.getEditLayer() != null); 37 37 } 38 38 -
applications/editors/josm/plugins/relcontext/src/relcontext/actions/EditChosenRelationAction.java
r25695 r25711 26 26 this.rel = rel; 27 27 rel.addChosenRelationListener(this); 28 setEnabled( false);28 setEnabled(rel.get() != null); 29 29 } 30 30 -
applications/editors/josm/plugins/relcontext/src/relcontext/actions/RelationHelpAction.java
r25695 r25711 27 27 this.rel = rel; 28 28 rel.addChosenRelationListener(this); 29 setEnabled( false);29 setEnabled(rel.get() != null); 30 30 } 31 31 -
applications/editors/josm/plugins/relcontext/src/relcontext/actions/SelectInRelationPanelAction.java
r25680 r25711 20 20 this.rel = rel; 21 21 rel.addChosenRelationListener(this); 22 setEnabled( false);22 setEnabled(rel.get() != null); 23 23 } 24 24 -
applications/editors/josm/plugins/relcontext/src/relcontext/actions/SelectMembersAction.java
r25670 r25711 18 18 this.rel = rel; 19 19 rel.addChosenRelationListener(this); 20 setEnabled( false);20 setEnabled(rel.get() != null); 21 21 } 22 22 -
applications/editors/josm/plugins/relcontext/src/relcontext/actions/SelectRelationAction.java
r25709 r25711 19 19 this.rel = rel; 20 20 rel.addChosenRelationListener(this); 21 setEnabled( false);21 setEnabled(rel.get() != null); 22 22 } 23 23
Note:
See TracChangeset
for help on using the changeset viewer.