Interface DependencyMatrixAMConfigurator
- All Superinterfaces:
ConfiguratorWithPriority
,PriorityProvider
,PriorityProvider
Configurator interface used to customize Dependency matrix row, column and filter panel menu actions.
-
Field Summary
Fields inherited from interface com.nomagic.utils.PriorityProvider
HIGH_PRIORITY, LOW_PRIORITY, MEDIUM_PRIORITY
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
configure
(ActionsManager manager, PersistenceManager settings, Collection<Element> elements, boolean forRow) Deprecated.use {@link DependencyMatrixAMConfigurator#configure(com.nomagic.actions.ActionsManager, java.util.Collection, boolean, com.nomagic.magicdraw.dependencymatrix.persistence.PersistenceManager))default void
configure
(ActionsManager manager, Collection<ElementNode> elementNodes, boolean forRow, PersistenceManager settings) Method for configuring context menu actions.Methods inherited from interface com.nomagic.magicdraw.actions.ConfiguratorWithPriority
getPriority
-
Method Details
-
configure
@Deprecated default void configure(ActionsManager manager, PersistenceManager settings, Collection<Element> elements, boolean forRow) Deprecated.use {@link DependencyMatrixAMConfigurator#configure(com.nomagic.actions.ActionsManager, java.util.Collection, boolean, com.nomagic.magicdraw.dependencymatrix.persistence.PersistenceManager)) -
configure
default void configure(ActionsManager manager, Collection<ElementNode> elementNodes, boolean forRow, PersistenceManager settings) Method for configuring context menu actions. During this call, new actions can be added to dependency matrix menu. Also existing actions can be removed from the given manager. Using this configurator three menu types may be configured: row element menu, column element menu, filter area menu. Ifelements
collection is empty - the click was on the filter area, otherwiseforRow
variable shows if it is row or column elements.- Parameters:
manager
- manager to be configured.elementNodes
- currently selected row or column nodesforRow
- true if configuring actions for selected rows, false - for selected column nodessettings
- dependency Matrix Settings
-