public void createInitialLayout(IPageLayout layout)(Code)
Defines the initial layout for a perspective.
Implementors of this method may add additional views to a
perspective. The perspective already contains an editor folder
with ID = ILayoutFactory.ID_EDITORS. Add additional views
to the perspective in reference to the editor folder.
This method is only called when a new perspective is created. If
an old perspective is restored from a persistence file then
this method is not called.
Parameters: factory - the factory used to add views to the perspective
Returns the descriptor for the perspective last opened using this factory.
the descriptor for the perspective last opened using this factory, or null
setLastPerspective
public static void setLastPerspective(String perspId)(Code)
Sets the descriptor for the perspective last opened using this factory.
Parameters: persp - the descriptor for the perspective last opened using this factory, or null