public class DownloadSelectedIncompleteMembersAction extends AbstractRelationAction
relations
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
DownloadSelectedIncompleteMembersAction()
Constructs a new
DownloadSelectedIncompleteMembersAction . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
Set<OsmPrimitive> |
buildSetOfIncompleteMembers(Collection<Relation> rels)
Returns the set of incomplete members of the given relations.
|
void |
setPrimitives(Collection<? extends OsmPrimitive> primitives)
Specifies the working set of primitives.
|
getRelations, updateEnabledState
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public DownloadSelectedIncompleteMembersAction()
DownloadSelectedIncompleteMembersAction
.public Set<OsmPrimitive> buildSetOfIncompleteMembers(Collection<Relation> rels)
rels
- The relations to inspect.public void actionPerformed(ActionEvent e)
public void setPrimitives(Collection<? extends OsmPrimitive> primitives)
OsmPrimitiveAction
setPrimitives
in interface OsmPrimitiveAction
setPrimitives
in class AbstractRelationAction
primitives
- The new working set of primitives. Can be null or empty