Interface IMasterDetailSelectionProvider

  • All Superinterfaces:
    org.eclipse.jface.viewers.ISelectionProvider
    All Known Implementing Classes:
    MasterDetailSelectionProvider

    public interface IMasterDetailSelectionProvider
    extends org.eclipse.jface.viewers.ISelectionProvider
    A selection provider for master-detail views in which both the master and the detail parts may provide a selection. The provider's selection is the selection of either the master or the detail part, whichever is currently active (usually meaning that it last had the input focus). The detail provider can change as the master-detail UI creates/activates/destroys different detail views, and there needs not always be a detail. Moreover, the detail is free to provide different kind of selection (e.g., text vs. structured) to the master.
    Since:
    1.21
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void setDetailSelectionProvider​(org.eclipse.jface.viewers.ISelectionProvider selectionProvider)
      Set the active detail selection provider, or null if either there is no detail or it is not active (in which case the master selection provider is deemed active).
      • Methods inherited from interface org.eclipse.jface.viewers.ISelectionProvider

        addSelectionChangedListener, getSelection, removeSelectionChangedListener, setSelection
    • Method Detail

      • setDetailSelectionProvider

        void setDetailSelectionProvider​(org.eclipse.jface.viewers.ISelectionProvider selectionProvider)
        Set the active detail selection provider, or null if either there is no detail or it is not active (in which case the master selection provider is deemed active).
        Parameters:
        selectionProvider - the detail selection provider to activate, or null to active the implicit master selection provider