public abstract class AbstractRelationAction extends AbstractAction implements OsmPrimitiveAction
| Modifier and Type | Field and Description |
|---|---|
protected Collection<Relation> |
relations |
changeSupport, 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 |
|---|
AbstractRelationAction() |
| Modifier and Type | Method and Description |
|---|---|
protected static Collection<Relation> |
getRelations(Collection<? extends OsmPrimitive> primitives) |
void |
setPrimitives(Collection<? extends OsmPrimitive> primitives)
Specifies the working set of primitives.
|
protected void |
updateEnabledState() |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledactionPerformedprotected Collection<Relation> relations
public AbstractRelationAction()
protected static final Collection<Relation> getRelations(Collection<? extends OsmPrimitive> primitives)
public void setPrimitives(Collection<? extends OsmPrimitive> primitives)
OsmPrimitiveActionsetPrimitives in interface OsmPrimitiveActionprimitives - The new working set of primitives. Can be null or emptyprotected void updateEnabledState()