Class AtlContentOutlinePage

  • All Implemented Interfaces:
    org.eclipse.jface.viewers.IPostSelectionProvider, org.eclipse.jface.viewers.ISelectionProvider, org.eclipse.ui.part.IPage, org.eclipse.ui.part.IPageBookViewPage, org.eclipse.ui.views.contentoutline.IContentOutlinePage

    public class AtlContentOutlinePage
    extends AtlOutlinePage
    • Field Detail

      • ATL_OUTLINE_VIEW_CONTEXT_MENU_ID

        public static final java.lang.String ATL_OUTLINE_VIEW_CONTEXT_MENU_ID
        The outline view context menu id. May be used for extensions by other plugins
        See Also:
        Constant Field Values
    • Constructor Detail

      • AtlContentOutlinePage

        public AtlContentOutlinePage​(org.eclipse.ui.texteditor.ITextEditor textEditor,
                                     org.eclipse.ui.IEditorInput editorInput,
                                     org.eclipse.ui.texteditor.IDocumentProvider documentProvider)
        Parameters:
        textEditor -
        editorInput -
        documentProvider -
    • Method Detail

      • createFiltersAndSorters

        public void createFiltersAndSorters()
        Creates the filters and sorters.
      • setUnit

        public void setUnit()
        Sets the Unit of the input of the tree Viewer.
      • setSelection

        public void setSelection​(java.lang.String currentCursorPosition)
        Sets the selection to the given cursorPosition.
        Parameters:
        currentCursorPosition - the cursor position
      • updateFilters

        protected void updateFilters​(org.eclipse.jface.action.Action actionParam)
        Updates the filters of the tree viewer Multiple filters can be enabled at a time.
        Parameters:
        actionParam - the action
      • updateSorter

        protected void updateSorter​(org.eclipse.jface.action.Action actionParam)
        Updates the sorter of the tree viewer One sorter can be enabled at a time.
        Parameters:
        actionParam - the action