Package com.iizigo.java
Class MemberTreeItemNavigatorPresentation
- java.lang.Object
- com.iizigo.prop.TreeItemNavigatorPresentation
- com.iizigo.java.MemberTreeItemNavigatorPresentation
- All Implemented Interfaces:
INavigatorPresentation
,INavigatorTooltip
,java.lang.Cloneable
public class MemberTreeItemNavigatorPresentation extends TreeItemNavigatorPresentation implements INavigatorTooltip
The method tree item navigator presentation providing tooltips for the Java members.- Author:
- Christopher Mindus
Field Summary
Fields inherited from class com.iizigo.prop.TreeItemNavigatorPresentation
attachment
Fields inherited from interface com.iizigo.navigator.INavigatorPresentation
CN_PREFERENCE_FLAGS_NAME, DEFAULT_COMPARATOR, EMPTY_ARRAY, FLAG_ADD_FILE_ITEM_PACKAGE_LOCATION, FLAG_ADD_FILE_ITEM_PROJECT, FLAG_ADD_FOLDER_PACKAGE_LOCATION, FLAG_ADD_FOLDER_PROJECT, FLAG_CUSTOM_1, FLAG_CUSTOM_2, FLAG_CUSTOM_3, FLAG_JAVA_SUPPORT, FLAG_PACKAGE_VIEW, FLAG_SHOW_DESIGNER_PROPERTIES, FLAG_SHOW_EMPTY_MODULE_FOLDERS, FLAG_SHOW_EMPTY_PACKAGES, FLAG_SHOW_FILE_ITEMS, FLAG_SHOW_SUBPROPERTIES, FLAGS_NORMAL, FLAGS_ONLY_FOLDERS
Constructor Summary
Constructors Constructor Description MemberTreeItemNavigatorPresentation(java.lang.String text, org.eclipse.swt.graphics.Image image, org.eclipse.jdt.core.IMember member)
Constructor.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.boolean
hasCNToolTip(org.eclipse.jface.viewers.ViewerCell cell)
Checks for Common Navigator tool-tip for this item.Methods inherited from class com.iizigo.prop.TreeItemNavigatorPresentation
addChild, clone, contains, getCNCategory, getCNChildren, getCNComparator, getCNDescription, getCNImage, getCNImage, getCNParent, getCNStyledText, getCNText, getCNText, getText, hasCNChildren, removeAllChildren, removeChild, setAdditionalText, setParent, sortChildren
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 interfaceINavigatorTooltip
- 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 interfaceINavigatorTooltip
- 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.