public class ModulePerspective extends Object
When a new page is created in the workbench a perspective is used to define
the initial page layout. If this is a predefined perspective (based on an extension to
the workbench's perspective extension point) an
is used to define the initial page layout.
The factory for the perspective is created and passed an
where views can be added. The default layout consists of the editor area with no
additional views. Additional views are added to the layout using
the editor area as the initial point of reference. The factory is used only briefly
while a new page is created; then discarded.
In this implementation, the JavaPerspective in the JDT plugin is used as a base. The central access point for the Java UI plug-in is (id) "org.eclipse.jdt.ui".
|Modifier and Type||Field and Description|
The ID for this perspective.
|Constructor and Description|
|Modifier and Type||Method and Description|
Creates the initial layout for a page.
public static final String PERSPECTIVE_ID
public void createInitialLayout(IPageLayout layout)
layout- The page layout.
iizi® is a registered trademark of Mindus SARL. © Copyright 2019 Mindus SARL. All rights reserved.