|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A perspective descriptor describes a perspective in an
IPerspectiveRegistry
.
A perspective is a template for view visibility, layout, and action visibility within a workbench page. There are two types of perspective: a predefined perspective and a custom perspective.
"org.eclipse.ui.perspectives"
).
The extension defines a id, label, and IPerspectiveFactory
.
A perspective factory is used to define the initial layout for a page.
Within a page the user can open any of the perspectives known
to the workbench's perspective registry, typically by selecting one from the
workbench's Open Perspective
menu. When selected, the views
and actions within the active page rearrange to reflect the perspective.
This interface is not intended to be implemented by clients.
IPerspectiveRegistry
Method Summary | |
---|---|
String |
getDescription()
Returns the description of this perspective. |
String |
getId()
Returns this perspective's id. |
ImageDescriptor |
getImageDescriptor()
Returns the descriptor of the image to show for this perspective. |
String |
getLabel()
Returns this perspective's label. |
Method Detail |
public String getDescription()
"description"
attribute.
public String getId()
"id"
attribute.
public ImageDescriptor getImageDescriptor()
public String getLabel()
"label"
attribute.
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.