Interface PerspectiveItem
- All Known Subinterfaces:
PerspectiveActionItem
,PerspectiveItemWithIcon
,PerspectiveSectionItem
public interface PerspectiveItem
Interface that represents a perspective item.
- Since:
- 6.0.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the description of this item.int
getId()
Returns the id of this item.Returns the label of this item.Returns the parent item of this item.getType()
Returns the type of this item.boolean
isAncestorOf
(PerspectiveItem anItem) Returns true only if this item is an ancestor of the item specified as parameter.
-
Method Details
-
getId
int getId()Returns the id of this item. -
getType
PerspectiveItemType getType()Returns the type of this item. -
getParent
PerspectiveItem getParent()Returns the parent item of this item. -
getLabel
Returns the label of this item. -
getDescription
UserMessage getDescription()Returns the description of this item. -
isAncestorOf
Returns true only if this item is an ancestor of the item specified as parameter. (An item is not considered as an ancestor of itself).
-