Interface DependencyExtractor
-
- All Superinterfaces:
SmartListenerConfigProvider
@OpenApiAll public interface DependencyExtractor extends 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
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description void
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)
void
elementUpdated(java.util.Collection<Element> element)
This element properties have been changed according to registered smart listeners.default java.util.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 java.util.Collection<DependencyEntry>
getDependencies(Element row, Element column)
Deprecated.void
init(PersistenceManager settings, org.eclipse.core.runtime.IProgressMonitor 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 Detail
-
init
void init(PersistenceManager settings, @CheckForNull org.eclipse.core.runtime.IProgressMonitor status)
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 default java.util.Collection<DependencyEntry> getDependencies(Element row, Element column)
Deprecated.
-
getDependencies
default java.util.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 cell- Parameters:
row
- row elementcolumn
- column element- Returns:
- list of extracted dependencies
-
createNavigationActions
@Deprecated default void createNavigationActions(PersistenceManager persistenceManager, Element row, Element column, AbstractMatrixCell value, ActionsCategory navigateCategory)
-
createNavigationActions
default void createNavigationActions(PersistenceManager persistenceManager, ElementNode row, ElementNode column, AbstractMatrixCell value, ActionsCategory navigateCategory)
Creates navigation actions for the dependencies created with this extractor- Parameters:
persistenceManager
- matrix settingsrow
- row elementcolumn
- column elementvalue
- cell valuenavigateCategory
- navigate category from the right click
-
elementUpdated
void elementUpdated(java.util.Collection<Element> element)
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.
-
-