Class PictoView

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
org.eclipse.epsilon.picto.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 Details

    • ID

      public static final String ID
      See Also:
    • viewRenderer

      protected ViewRenderer viewRenderer
    • browserContainer

      protected BrowserContainer browserContainer
    • 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
    • source

      protected PictoSource source
    • sources

      protected Collection<PictoSource> sources
    • browserFunctions

      protected List<PictoBrowserFunction> browserFunctions
    • browserScripts

      protected List<PictoBrowserScript> browserScripts
    • viewTreeLabelProvider

      protected ViewTreeLabelProvider viewTreeLabelProvider
    • filteredTree

      protected FilteredViewTree filteredTree
    • renderVerbatimSources

      protected boolean renderVerbatimSources
    • viewTreeSelectionHistory

      protected ViewTreeSelectionHistory viewTreeSelectionHistory
    • treePosition

      protected int treePosition
    • treeViewerShouldBeVisible

      protected boolean treeViewerShouldBeVisible
    • viewRenderingJobs

      protected org.eclipse.core.runtime.jobs.JobGroup viewRenderingJobs
      Ensures we only render one view at a time, and allows us to cancel pending jobs if the selection changes.
  • Constructor Details

    • PictoView

      public PictoView()
  • Method Details

    • 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
    • createBrowser

      protected org.eclipse.swt.browser.Browser createBrowser(BrowserContainer container)
    • 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)
    • runInUIThread

      public void runInUIThread(RunnableWithException runnable) throws Exception
      Throws:
      Exception
    • setViewTree

      protected void setViewTree(ViewTree newViewTree, boolean rerender) throws Exception
      Throws:
      Exception
    • renderView

      public void renderView(ViewTree view) throws Exception
      Throws:
      Exception
    • 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()
    • getViewRenderer

      public ViewRenderer getViewRenderer()
    • setViewRenderer

      public void setViewRenderer(ViewRenderer viewRenderer)
    • getViewTreeSelectionHistory

      public ViewTreeSelectionHistory getViewTreeSelectionHistory()
    • isPinned

      public boolean isPinned()
    • setPinned

      public void setPinned(boolean pinned)