Class MemberTreeItemNavigatorPresentation

    • Constructor Detail

      • MemberTreeItemNavigatorPresentation

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

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