org.eclipse.ercp.eworkbench
Class DefaultPerspective
java.lang.Object
org.eclipse.ercp.eworkbench.DefaultPerspective
- All Implemented Interfaces:
- IPerspectiveFactory
public class DefaultPerspective
- extends java.lang.Object
- implements IPerspectiveFactory
Default perspective defines how eRCP apps get displayed
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID_PERSPECTIVE
public static final java.lang.String ID_PERSPECTIVE
- See Also:
- Constant Field Values
DefaultPerspective
public DefaultPerspective()
createInitialLayout
public void createInitialLayout(IPageLayout layout,
java.lang.String launchId,
java.lang.String path)
- Specified by:
createInitialLayout
in interface IPerspectiveFactory
addView
public void addView(java.lang.String viewId)
getDefault
public static DefaultPerspective getDefault()
createInitialLayout
public void createInitialLayout(IPageLayout layout)
- Description copied from interface:
IPerspectiveFactory
- Creates the initial layout for a page.
Implementors of this method may add additional views to a
perspective. The perspective already contains an editor folder
identified by the result of IPageLayout.getEditorArea()
.
Additional views should be added to the layout using this value as
the initial point of reference.
- Specified by:
createInitialLayout
in interface IPerspectiveFactory
- Parameters:
layout
- the page layout
updateLink
public void updateLink(java.lang.String path)
- Specified by:
updateLink
in interface IPerspectiveFactory