public class DownloadSelectedIncompleteMembersAction extends AbstractRelationAction
| Modifier and Type | Field and Description |
|---|---|
private Collection<OsmPrimitive> |
incompleteMembers |
relationschangeSupport, enabledACCELERATOR_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) |
static 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.
|
protected void |
updateEnabledState() |
getRelationsaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledprivate transient Collection<OsmPrimitive> incompleteMembers
public DownloadSelectedIncompleteMembersAction()
DownloadSelectedIncompleteMembersAction.public static Set<OsmPrimitive> buildSetOfIncompleteMembers(Collection<Relation> rels)
rels - The relations to inspect.public void actionPerformed(ActionEvent e)
public void setPrimitives(Collection<? extends OsmPrimitive> primitives)
OsmPrimitiveActionsetPrimitives in interface OsmPrimitiveActionsetPrimitives in class AbstractRelationActionprimitives - The new working set of primitives. Can be null or emptyprotected void updateEnabledState()
updateEnabledState in class AbstractRelationAction