Interface DependencyExtractor
- All Superinterfaces:
SmartListenerConfigProvider
Dependency extractors are used in Dependency Matrix to extract dependencies between two elements.
Additionally they may provide element smart listener configurations, navigation menu items.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Method clearing up all used resources and memory.default void
createNavigationActions
(PersistenceManager persistenceManager, ElementNode row, ElementNode column, AbstractMatrixCell value, ActionsCategory navigateCategory) Creates navigation actions for the dependencies created with this extractordefault void
createNavigationActions
(PersistenceManager persistenceManager, Element row, Element column, AbstractMatrixCell value, ActionsCategory navigateCategory) Deprecated.void
elementUpdated
(Collection<Element> element) This element properties have been changed according to registered smart listeners.default Collection<DependencyEntry>
getDependencies
(ElementNode row, ElementNode column) Extract and return dependencies between those two row and column elements which are used in creating new matrix celldefault Collection<DependencyEntry>
getDependencies
(Element row, Element column) Deprecated.void
init
(PersistenceManager settings, ProgressStatus status) This method is called when matrix settings are changed and whole matrix is being rebuilt.Methods inherited from interface com.nomagic.uml2.ext.jmi.smartlistener.SmartListenerConfigProvider
getListenerConfigurations
-
Method Details
-
init
This method is called when matrix settings are changed and whole matrix is being rebuilt. This way we can use it to update internal extractor settings according to new Dependency Matrix settings- Parameters:
settings
- current matrix settingsstatus
- progress status
-
getDependencies
Deprecated. -
getDependencies
Extract and return dependencies between those two row and column elements which are used in creating new matrix cell- Parameters:
row
- row elementcolumn
- column element- Returns:
- list of extracted dependencies
-
elementUpdated
This element properties have been changed according to registered smart listeners. This method may be left empty, unless there are some cache or data structures which should be created on such event- Parameters:
element
- updated elements
-
clear
void clear()Method clearing up all used resources and memory.
-
createNavigationActions(PersistenceManager, ElementNode, ElementNode, AbstractMatrixCell, ActionsCategory)