Class PictoView

  • 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 class PictoView
    extends org.eclipse.ui.part.ViewPart
    • Field Detail

      • editor

        protected org.eclipse.ui.IEditorPart editor
      • listener

        protected org.eclipse.epsilon.picto.PictoView.EditorPropertyListener listener
      • treeViewer

        protected org.eclipse.jface.viewers.TreeViewer treeViewer
      • sashForm

        protected org.eclipse.swt.custom.SashForm sashForm
      • sashFormWeights

        protected int[] sashFormWeights
      • renderedEditor

        protected org.eclipse.ui.IEditorPart renderedEditor
      • locked

        protected boolean locked
      • pinned

        protected boolean pinned
      • hideTreeAction

        protected org.eclipse.epsilon.picto.PictoView.ToggleTreeViewerAction hideTreeAction
      • activeViewHistory

        protected HashMap<org.eclipse.ui.IEditorPart,​ViewTree> activeViewHistory
      • activeView

        protected ViewTree activeView
      • renderVerbatimSources

        protected boolean renderVerbatimSources
      • treePosition

        protected int treePosition
      • treeViewerShouldBeVisible

        protected boolean treeViewerShouldBeVisible
    • Constructor Detail

      • PictoView

        public PictoView()
    • Method Detail

      • createPartControl

        public void createPartControl​(org.eclipse.swt.widgets.Composite parent)
        Specified by:
        createPartControl in interface org.eclipse.ui.IWorkbenchPart
        Specified by:
        createPartControl in class org.eclipse.ui.part.WorkbenchPart
      • render

        public void render​(org.eclipse.ui.IEditorPart editor)
      • isTreeViewerVisible

        protected boolean isTreeViewerVisible()
      • setTreeViewerVisible

        protected void setTreeViewerVisible​(boolean visible)
      • selectViewTree

        public void selectViewTree​(List<String> path)
      • renderEditorContent

        public void renderEditorContent()
      • dispose

        public void dispose()
        Specified by:
        dispose in interface org.eclipse.ui.IWorkbenchPart
        Overrides:
        dispose in class org.eclipse.ui.part.WorkbenchPart
      • setFocus

        public void setFocus()
        Specified by:
        setFocus in interface org.eclipse.ui.IWorkbenchPart
        Specified by:
        setFocus in class org.eclipse.ui.part.WorkbenchPart
      • supports

        protected boolean supports​(org.eclipse.ui.IEditorPart editorPart)
      • getSource

        protected PictoSource getSource​(org.eclipse.ui.IEditorPart editorPart)
      • getSource

        public PictoSource getSource()
        Returns:
        Since:
        2.2
      • getAdapter

        public <T> T getAdapter​(Class<T> adapter)
        Specified by:
        getAdapter in interface org.eclipse.core.runtime.IAdaptable
        Overrides:
        getAdapter in class org.eclipse.ui.part.WorkbenchPart
      • getEditor

        public org.eclipse.ui.IEditorPart getEditor()
      • isLocked

        public boolean isLocked()
      • setLocked

        public void setLocked​(boolean locked)
      • getActiveView

        public ViewTree getActiveView()
      • getViewTree

        public ViewTree getViewTree()
      • setViewRenderer

        public void setViewRenderer​(ViewRenderer viewRenderer)
      • isPinned

        public boolean isPinned()
      • setPinned

        public void setPinned​(boolean pinned)