| com.pnfsoftware.jeb.core.output.IActionableItem |
Known Indirect Subclasses
|
An active item has an item identifier. That id can be interpreted by the IUnit that
produced the item. Retrieving which actions are supported by an item can be done by querying the
owner unit. Several items may have the same id, for example, when they refer to the same
abstraction. Those implementation details are the responsibility of the unit.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | ROLE_MASTER | This flag is used in the case where multiple items have the same id. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract int |
getItemFlags()
Retrieve the item flags.
| ||||||||||
| abstract long |
getItemId()
Retrieve the item id.
| ||||||||||
This flag is used in the case where multiple items have the same id. Only one of those items may have this flag set. It is used to provide a hint to the client as of which of these items should be considered the "master", or root item. The official RCP client, for instance, uses this flag to implement jumps (or go-tos) from one item to the associated master item.
Retrieve the item flags. Currently, the only flag defined is ROLE_MASTER.
(Subclasses may define additional flags. Example: see ICodeItem's
FLAG_xxx.)
Retrieve the item id.