Class SideBarToolTips

  • All Implemented Interfaces:
    UIUpdatable, org.eclipse.swt.widgets.Listener

    public class SideBarToolTips
    extends java.lang.Object
    implements org.eclipse.swt.widgets.Listener, UIUpdatable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.eclipse.swt.graphics.Point lastRelMouseHoverPos  
      (package private) org.eclipse.swt.widgets.Shell mainShell  
      private BaseMdiEntry mdiEntry  
      (package private) org.eclipse.swt.custom.CLabel toolTipLabel  
      (package private) org.eclipse.swt.widgets.Shell toolTipShell  
      private org.eclipse.swt.widgets.Tree tree  
    • Constructor Summary

      Constructors 
      Constructor Description
      SideBarToolTips​(SideBar sidebar, org.eclipse.swt.widgets.Tree tree)
      Initialize
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private java.lang.String getToolTip​(org.eclipse.swt.graphics.Point mousePos_RelativeToItem)  
      java.lang.String getUpdateUIName()
      A name for this UIUpdatable so we can track who's being bad
      void handleEvent​(org.eclipse.swt.widgets.Event event)  
      private void handleHover​(org.eclipse.swt.graphics.Point mousePos)  
      void updateUI()
      Update your UI!
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • toolTipShell

        org.eclipse.swt.widgets.Shell toolTipShell
      • mainShell

        org.eclipse.swt.widgets.Shell mainShell
      • toolTipLabel

        org.eclipse.swt.custom.CLabel toolTipLabel
      • tree

        private final org.eclipse.swt.widgets.Tree tree
      • lastRelMouseHoverPos

        private org.eclipse.swt.graphics.Point lastRelMouseHoverPos
    • Constructor Detail

      • SideBarToolTips

        public SideBarToolTips​(SideBar sidebar,
                               org.eclipse.swt.widgets.Tree tree)
        Initialize
    • Method Detail

      • handleEvent

        public void handleEvent​(org.eclipse.swt.widgets.Event event)
        Specified by:
        handleEvent in interface org.eclipse.swt.widgets.Listener
      • handleHover

        private void handleHover​(org.eclipse.swt.graphics.Point mousePos)
        Since:
        3.1.1.1
      • getToolTip

        private java.lang.String getToolTip​(org.eclipse.swt.graphics.Point mousePos_RelativeToItem)
        Returns:
        Since:
        3.1.1.1
      • getUpdateUIName

        public java.lang.String getUpdateUIName()
        Description copied from interface: UIUpdatable
        A name for this UIUpdatable so we can track who's being bad
        Specified by:
        getUpdateUIName in interface UIUpdatable
        Returns:
        some name