Changeset 8308 in josm for trunk/src/org/openstreetmap/josm/actions/relation
- Timestamp:
- 2015-05-02T00:55:19+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions/relation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/relation/AbstractRelationAction.java
r7937 r8308 13 13 14 14 /** 15 * Ancestor for all actions that want to work with relation collection and 15 * Ancestor for all actions that want to work with relation collection and 16 16 * to be disabled if the collection is empty 17 17 * @since 5793 18 18 */ 19 19 public abstract class AbstractRelationAction extends AbstractAction implements OsmPrimitiveAction { 20 protected Collection<Relation> relations = Collections.<Relation>emptySet();20 protected transient Collection<Relation> relations = Collections.<Relation>emptySet(); 21 21 22 22 protected static final Collection<Relation> getRelations(Collection<? extends OsmPrimitive> primitives) { … … 28 28 } 29 29 } 30 30 31 31 @Override 32 32 public void setPrimitives(Collection<? extends OsmPrimitive> primitives) { … … 34 34 updateEnabledState(); 35 35 } 36 36 37 37 protected void updateEnabledState() { 38 38 setEnabled(!relations.isEmpty()); -
trunk/src/org/openstreetmap/josm/actions/relation/DownloadSelectedIncompleteMembersAction.java
r7946 r8308 24 24 public class DownloadSelectedIncompleteMembersAction extends AbstractRelationAction { 25 25 26 private Collection<OsmPrimitive> incompleteMembers;26 private transient Collection<OsmPrimitive> incompleteMembers; 27 27 28 28 /**
Note:
See TracChangeset
for help on using the changeset viewer.