public final class MultiViewPerspective extends Object
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Gets localized display name of multi view element.
|
HelpCtx |
getHelpCtx()
Get the help context of multi view element.
|
Image |
getIcon()
Icon for the multi view component.
|
int |
getPersistenceType()
Gets persistence type of multi view element, the TopComponent will decide
on it's onw persistenceType based on the sum of all it's elements.
|
String |
preferredID()
A Description's contribution
to unique TopComponent's Id returned by getID.
|
public int getPersistenceType()
TopComponent.PERSISTENCE_ALWAYS
has higher priority than TopComponent.PERSISTENCE_ONLY_OPENED
and TopComponent.PERSISTENCE_NEVER
has lowest priority.
The TopComponent
will be stored only if at least one element requesting persistence
was made visible.public String getDisplayName()
@CheckForNull public Image getIcon()
TopComponent
's icon
when this element is selected.public HelpCtx getHelpCtx()
public String preferredID()