Class ExpiringGraphSelectionProviderView

  • All Implemented Interfaces:
    org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.IPersistable, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation

    public abstract class ExpiringGraphSelectionProviderView
    extends GraphSelectionListenerView
    • Constructor Detail

      • ExpiringGraphSelectionProviderView

        public ExpiringGraphSelectionProviderView()
    • Method Detail

      • registerGraphHandlers

        public void registerGraphHandlers()
        This method should be invoked at the end of the ViewPart's createPartControl(Composite parent) method. Listener's will automatically be cleaned up when the view is disposed.
        Overrides:
        registerGraphHandlers in class GraphSelectionListenerView
      • enableGraphSelectionProvider

        public void enableGraphSelectionProvider()
        Enables graph selection providers
      • disableGraphSelectionProvider

        public void disableGraphSelectionProvider()
        Disables graph selection providers
      • isGraphSelectionProviderEnabled

        public boolean isGraphSelectionProviderEnabled()
        Returns true if the graph selection provider is enabled, false otherwise
      • toggleGraphSelectionProvider

        public void toggleGraphSelectionProvider()
        Toggles the graph selection provider state from enabled to disabled or vice versa.
      • refreshSelection

        public void refreshSelection()
        If an index exists and a selection has previously been made this replays the last selection event
      • setSelection

        public void setSelection​(com.ensoftcorp.atlas.core.query.Q selection)
        If an index exists then the given selection event will be fired
        Parameters:
        selection -