Class DelegatingSelectionCollectorRegistry
java.lang.Object
com.e1c.langtool.internal.ui.collector.DelegatingSelectionCollectorRegistry
The Registry of contributed
IDelegatingSelectionCollector that allows to collect in specific context of part.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDelegateCollector(org.eclipse.ui.IWorkbenchPart part) Get delegate collector for the given part.Gets the delegates with registered part ID as key.
-
Constructor Details
-
DelegatingSelectionCollectorRegistry
public DelegatingSelectionCollectorRegistry()
-
-
Method Details
-
getDelegates
Gets the delegates with registered part ID as key.- Returns:
- the delegates map, never returns
null.
-
getDelegateCollector
Get delegate collector for the given part.- Parameters:
part- the part, cannot benull.- Returns:
- the delegating selection collector, or returns
nullif not found for the part.
-