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
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
Modifier and TypeMethodDescriptionvoidsetPrimitives(Collection<? extends IPrimitive> primitives) Specifies the working set of primitives.Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledMethods inherited from interface java.awt.event.ActionListener
actionPerformed
-
Method Details
-
setPrimitives
Specifies the working set of primitives.- Parameters:
primitives- The new working set of primitives. Can be null or empty
-