Class ViewTree

java.lang.Object
org.eclipse.epsilon.picto.ViewTree

public class ViewTree extends Object
  • Field Details

    • children

      protected List<ViewTree> children
    • promise

      protected ContentPromise promise
    • name

      protected String name
    • format

      protected String format
    • icon

      protected String icon
    • patches

      protected List<Patch> patches
    • parent

      protected ViewTree parent
    • scrollPosition

      protected org.eclipse.swt.graphics.Point scrollPosition
    • cachedContent

      protected ViewContent cachedContent
    • layers

      protected List<Layer> layers
    • baseUris

      protected Set<URI> baseUris
    • position

      protected Integer position
  • Constructor Details

  • Method Details

    • add

      public ViewTree add(List<String> path, ViewTree other)
    • ingest

      public void ingest(ViewTree other)
    • preserveLayerState

      protected void preserveLayerState(ViewTree existing, ViewTree _new)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getChildren

      public List<ViewTree> getChildren()
    • setParent

      public void setParent(ViewTree parent)
    • getParent

      public ViewTree getParent()
    • getContent

      public ViewContent getContent()
    • getPatches

      public List<Patch> getPatches()
    • setPatches

      public void setPatches(List<Patch> patches)
    • getContents

      public List<ViewContent> getContents(PictoView pictoView)
    • getContentsText

      public String getContentsText(PictoView pictoView)
      Concatenates the result of getContents(PictoView) where each ViewContent.getText()) is separated by a new line.
      Parameters:
      pictoView -
      Returns:
      Since:
      2.2
    • setPromise

      public void setPromise(ContentPromise promise)
    • getPromise

      public ContentPromise getPromise()
    • getFormat

      public String getFormat()
    • setFormat

      public void setFormat(String format)
    • setIcon

      public void setIcon(String icon)
    • getIcon

      public String getIcon()
    • getScrollPosition

      public org.eclipse.swt.graphics.Point getScrollPosition()
    • setScrollPosition

      public void setScrollPosition(org.eclipse.swt.graphics.Point scrollPosition)
    • getLayers

      public List<Layer> getLayers()
    • setLayers

      public void setLayers(List<Layer> layers)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getPath

      public List<String> getPath()
    • forPath

      public ViewTree forPath(List<String> path)
    • getFirstWithContent

      public ViewTree getFirstWithContent()
    • clearCache

      public void clearCache()
    • getBaseUris

      public Set<URI> getBaseUris()
    • setContent

      public void setContent(ViewContent content)
    • getCachedContent

      public ViewContent getCachedContent()
    • getPosition

      public Integer getPosition()
    • setPosition

      public void setPosition(Integer position)