Create a new perspective.
Parameters: label - the name of the new descriptor Parameters: originalDescriptor - the descriptor on which to base the new descriptor a new perspective descriptor or null if thecreation failed.
Gets the Custom perspective definition from the preference store.
Parameters: id - the id of the perspective to find IMemento a memento containing the perspective description throws: WorkbenchException - throws: IOException -
Saves a custom perspective definition to the preference store.
Parameters: desc - the perspective Parameters: memento - the memento to save to throws: IOException -
setDefaultPerspective
public void setDefaultPerspective(String id)(Code)
Return true if a label is valid. This checks only the
given label in isolation. It does not check whether the given label is
used by any existing perspectives.
Parameters: label - the label to test whether the label is valid