Class SideBarEntrySWT

All Implemented Interfaces:
AEDiagnosticsEvidenceGenerator, UIToolBarActivationListener, UIToolBarEnablerBase, UIPluginView, UIPluginViewToolBarListener, ViewTitleInfoListener, MdiEntry, ObfuscateImage, MdiEntrySWT, UISWTView, UISWTViewCore

public class SideBarEntrySWT extends BaseMdiEntry
  • Field Details

    • DARK_MODE

      private static final boolean DARK_MODE
    • PAINT_BG

      private static final boolean PAINT_BG
    • DO_OUR_OWN_TREE_INDENT

      private static final boolean DO_OUR_OWN_TREE_INDENT
      See Also:
    • EXPANDO_WIDTH

      private static final int EXPANDO_WIDTH
      See Also:
    • EXPANDO_INDENT

      private static int EXPANDO_INDENT
    • DO_EXPANDO_INDENT

      private static boolean DO_EXPANDO_INDENT
    • COMPACT_SIDEBAR

      private static boolean COMPACT_SIDEBAR
    • EXPANDO_LEFT_INDENT

      private static int EXPANDO_LEFT_INDENT
    • EXPANDO_INDENT_INITIAL

      private static int EXPANDO_INDENT_INITIAL
    • IMAGELEFT_HIDDEN

      private static boolean IMAGELEFT_HIDDEN
    • IMAGELEFT_SIZE

      private int IMAGELEFT_SIZE
    • IMAGELEFT_GAP

      private int IMAGELEFT_GAP
    • ALWAYS_IMAGE_GAP

      private static final boolean ALWAYS_IMAGE_GAP
      See Also:
    • CLOSE_IMAGE_POSITION

      private static int CLOSE_IMAGE_POSITION
    • SO_ID_TOOLBAR

      private static final String SO_ID_TOOLBAR
      See Also:
    • swtItem

      private org.eclipse.swt.widgets.TreeItem swtItem
    • maxIndicatorWidth

      private int maxIndicatorWidth
    • imgClose

      private org.eclipse.swt.graphics.Image imgClose
    • imgCloseSelected

      private org.eclipse.swt.graphics.Image imgCloseSelected
    • bg

      private org.eclipse.swt.graphics.Color bg
    • fg

      private org.eclipse.swt.graphics.Color fg
    • bgSel

      private org.eclipse.swt.graphics.Color bgSel
    • fgSel

      private org.eclipse.swt.graphics.Color fgSel
    • showonSWTItemSet

      private boolean showonSWTItemSet
    • soParent

      private SWTSkinObjectContainer soParent
    • buildonSWTItemSet

      private boolean buildonSWTItemSet
    • selectable

      private boolean selectable
    • neverPainted

      private boolean neverPainted
    • attention_start

      private long attention_start
    • attention_flash_on

      private boolean attention_flash_on
    • isRedrawQueued

      boolean isRedrawQueued
    • toolBarInfoBar

      private InfoBarUtil toolBarInfoBar
  • Constructor Details

  • Method Details

    • updateColors

      protected void updateColors()
    • getTreeItem

      public org.eclipse.swt.widgets.TreeItem getTreeItem()
    • setTreeItem

      public void setTreeItem(org.eclipse.swt.widgets.TreeItem treeItem)
    • getVitalityImage

      public MdiEntryVitalityImage getVitalityImage(int hitX, int hitY)
    • requestAttention

      public void requestAttention()
      Specified by:
      requestAttention in interface MdiEntry
      Overrides:
      requestAttention in class BaseMdiEntry
    • attentionUpdate

      protected boolean attentionUpdate(int ticks)
    • redraw

      public void redraw()
    • swt_getBounds

      protected org.eclipse.swt.graphics.Rectangle swt_getBounds()
    • setExpanded

      public void setExpanded(boolean expanded)
      Specified by:
      setExpanded in interface MdiEntry
      Overrides:
      setExpanded in class BaseMdiEntry
    • destroyEntry

      protected void destroyEntry(boolean userInitiated)
      Overrides:
      destroyEntry in class BaseMdiEntry
    • build

      public void build()
      Specified by:
      build in class BaseMdiEntry
    • swt_build

      public boolean swt_build()
    • isEntryDisposed

      public boolean isEntryDisposed()
      Description copied from interface: MdiEntry
      Whether this entry is disposed.

      Content can be disposed while entry is not disposed. Content is always disposed when entry is disposed.

    • show

      public void show()
      Overrides:
      show in class BaseMdiEntry
    • swt_show

      private void swt_show()
    • hide

      public void hide()
      Specified by:
      hide in interface MdiEntry
      Overrides:
      hide in class BaseMdiEntry
    • swt_paintSideBar

      protected void swt_paintSideBar(org.eclipse.swt.widgets.Event event)
    • swt_paintEntryBG

      protected org.eclipse.swt.graphics.Color swt_paintEntryBG(int detail, org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle drawBounds)
    • setParentSkinObject

      public void setParentSkinObject(SWTSkinObjectContainer soParent)
    • getParentSkinObject

      public SWTSkinObjectContainer getParentSkinObject()
    • setSelectable

      public void setSelectable(boolean selectable)
    • isSelectable

      public boolean isSelectable()
    • swt_isVisible

      public boolean swt_isVisible()
    • obfuscatedImage

      public org.eclipse.swt.graphics.Image obfuscatedImage(org.eclipse.swt.graphics.Image image)
    • setToolbarVisibility

      protected void setToolbarVisibility(boolean visible)
      Overrides:
      setToolbarVisibility in class UISWTViewImpl
    • setTitle

      public void setTitle(String title)
      Description copied from interface: UISWTView
      Override the default title with a new one. After setting this, you should use the UISWTViewEvent.TYPE_LANGUAGEUPDATE to update your title to the new language.
      Specified by:
      setTitle in interface MdiEntry
      Specified by:
      setTitle in interface UISWTView
      Overrides:
      setTitle in class BaseMdiEntry
      Parameters:
      title - new Title
    • refreshTitle

      protected void refreshTitle()
      Overrides:
      refreshTitle in class UISWTViewImpl
    • redraw

      public void redraw(org.eclipse.swt.graphics.Rectangle hitArea)