Class SideBarEntrySWT

    • Field Detail

      • 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:
        Constant Field Values
      • 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
      • CLOSE_IMAGE_POSITION

        private static int CLOSE_IMAGE_POSITION
      • swtItem

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

        private final SideBar sidebar
      • 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
      • 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
    • Constructor Detail

      • SideBarEntrySWT

        public SideBarEntrySWT​(SideBar sidebar,
                               SWTSkin _skin,
                               java.lang.String id)
    • Method Detail

      • updateColors

        protected void updateColors()
      • getTreeItem

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

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

        protected boolean attentionUpdate​(int ticks)
      • redraw

        public void redraw()
      • swt_getBounds

        protected org.eclipse.swt.graphics.Rectangle swt_getBounds()
      • 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.

      • swt_show

        private void swt_show()
      • 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)
      • 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)
      • redraw

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