Class DelegatingSelectionCollectorRegistry

java.lang.Object
com.e1c.langtool.internal.ui.collector.DelegatingSelectionCollectorRegistry

public class DelegatingSelectionCollectorRegistry extends Object
The Registry of contributed IDelegatingSelectionCollector that allows to collect in specific context of part.
  • Constructor Details

    • DelegatingSelectionCollectorRegistry

      public DelegatingSelectionCollectorRegistry()
  • Method Details

    • getDelegates

      public Map<String,IDelegatingSelectionCollector> getDelegates()
      Gets the delegates with registered part ID as key.
      Returns:
      the delegates map, never returns null.
    • getDelegateCollector

      public IDelegatingSelectionCollector getDelegateCollector(org.eclipse.ui.IWorkbenchPart part)
      Get delegate collector for the given part.
      Parameters:
      part - the part, cannot be null.
      Returns:
      the delegating selection collector, or returns null if not found for the part.