Class SideBarToolTips

java.lang.Object
com.biglybt.ui.swt.views.skin.sidebar.SideBarToolTips
All Implemented Interfaces:
UIUpdatable, org.eclipse.swt.widgets.Listener

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

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

      private BaseMdiEntry mdiEntry
    • lastRelMouseHoverPos

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

    • SideBarToolTips

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

    • 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 String getToolTip(org.eclipse.swt.graphics.Point mousePos_RelativeToItem)
      Returns:
      Since:
      3.1.1.1
    • getUpdateUIName

      public 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
    • updateUI

      public void updateUI()
      Description copied from interface: UIUpdatable
      Update your UI!
      Specified by:
      updateUI in interface UIUpdatable