Class ModulePerspective

  • All Implemented Interfaces:

    public class ModulePerspective
    extends java.lang.Object
    implements org.eclipse.ui.IPerspectiveFactory
    Creates the iizi Module Perspective, an extension of the Java perspective, generating the initial page layout and visible action set for a page.

    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 IPerspectiveFactory is used to define the initial page layout.

    The factory for the perspective is created and passed an IPageLayout 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".

    Christopher Mindus
    • Field Summary

      Modifier and Type Field Description
      static java.lang.String PERSPECTIVE_ID
      The ID for this perspective.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createInitialLayout​(org.eclipse.ui.IPageLayout layout)
      Creates the initial layout for a page.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail


        public static final java.lang.String PERSPECTIVE_ID
        The ID for this perspective.
    • Constructor Detail

      • ModulePerspective

        public ModulePerspective()
    • Method Detail

      • createInitialLayout

        public void createInitialLayout​(org.eclipse.ui.IPageLayout layout)
        Creates the initial layout for a page.
        Specified by:
        createInitialLayout in interface org.eclipse.ui.IPerspectiveFactory
        layout - The page layout.
        See Also: