| java.lang.Object org.eclipse.ui.internal.LayoutHelper
LayoutHelper | class LayoutHelper (Code) | | Helper methods that the internal layout classes (PageLayout and
FolderLayout ) utilize for activities support and view creation.
since: 3.0 |
addViewActivator | final public static void addViewActivator(PageLayout pageLayout, String viewId)(Code) | | Creates a series of listeners that will activate the provided view on the
provided page layout when IIdenfier enablement changes. The
rules for this activation are as follows:
- if the identifier becomes enabled and the perspective of the page
layout is the currently active perspective in its window, then activate
the views immediately.
- if the identifier becomes enabled and the perspective of the page
layout is not the currently active perspecitve in its window, then add an
IPerspectiveListener to the window and activate the views
when the perspective becomes active.
Parameters: pageLayout - PageLayout . Parameters: viewId - the view id to activate upon IIdentifier enablement. |
createView | final public static ViewPane createView(ViewFactory factory, String viewId) throws PartInitException(Code) | | Create the view. If it's already been been created in the provided
factory, return the shared instance.
Parameters: factory - the ViewFactory to use. Parameters: viewID - the view id to use. the new ViewPane . throws: PartInitException - thrown if there is a problem creating the view. |
|
|