Class MemberTreeItemNavigatorPresentation

java.lang.Object
com.iizigo.prop.TreeItemNavigatorPresentation
com.iizigo.java.MemberTreeItemNavigatorPresentation
All Implemented Interfaces:
INavigatorPresentation, INavigatorTooltip, Cloneable

public class MemberTreeItemNavigatorPresentation extends TreeItemNavigatorPresentation implements INavigatorTooltip
The method tree item navigator presentation providing tooltips for the Java members.
Author:
Christopher Mindus
  • Constructor Details

    • MemberTreeItemNavigatorPresentation

      public MemberTreeItemNavigatorPresentation(String text, org.eclipse.swt.graphics.Image image, org.eclipse.jdt.core.IMember member)
      Constructor.
  • Method Details

    • hasCNToolTip

      public boolean hasCNToolTip(org.eclipse.jface.viewers.ViewerCell cell)
      Checks for Common Navigator tool-tip for this item.
      Specified by:
      hasCNToolTip in interface INavigatorTooltip
      Parameters:
      cell - The cell (might be in a table), or null for none.
    • createCNToolTip

      public org.eclipse.swt.widgets.Composite createCNToolTip(org.eclipse.swt.widgets.Event event, org.eclipse.jface.viewers.ViewerCell cell, org.eclipse.swt.widgets.Composite parent)
      Requests creates of the Composite used to show the tooltip.
      Specified by:
      createCNToolTip in interface INavigatorTooltip
      Parameters:
      event - Event triggering the tooltip (mouse hover).
      cell - The cell (might be in a table).
      parent - The parent composite.
      Returns:
      The created composite in the parent.