Package org.openstreetmap.josm.actions
Interface IPrimitiveAction
-
- All Superinterfaces:
Action
,ActionListener
,EventListener
- All Known Implementing Classes:
AbstractRelationAction
,AddSelectionToRelations
,DeleteRelationsAction
,DownloadMembersAction
,DownloadRelationAction
,DownloadSelectedIncompleteMembersAction
,DuplicateRelationAction
,EditRelationAction
,ExportRelationToGpxAction
,SelectInRelationListAction
,SelectMembersAction
,SelectRelationAction
public interface IPrimitiveAction extends Action
Interface used to enable/disable all primitive-related actions, even those registered by plugins.- Since:
- 13957
-
-
Field Summary
-
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setPrimitives(Collection<? extends IPrimitive> primitives)
Specifies the working set of primitives.-
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
-
-
-
-
Method Detail
-
setPrimitives
void setPrimitives(Collection<? extends IPrimitive> primitives)
Specifies the working set of primitives.- Parameters:
primitives
- The new working set of primitives. Can be null or empty
-
-