de.cau.cs.kieler.klots
Class KlotsPerspective

java.lang.Object
  extended by de.cau.cs.kieler.klots.KlotsPerspective
All Implemented Interfaces:
IPerspectiveFactory

public class KlotsPerspective
extends Object
implements IPerspectiveFactory

Rating red

Field Summary
static String ID
          The ID of the KLOTS perspective.
 
Constructor Summary
KlotsPerspective()
           
 
Method Summary
protected  void addViewIfExists(IFolderLayout folder, String id)
          Add a view to a folder only if the view exists.
 void createInitialLayout(IPageLayout layout)
          
protected  void createNewWizardShortcuts(IPageLayout layout)
           
protected  void createViewLayout(IPageLayout layout)
           
protected  void createViewShortcuts(IPageLayout layout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
The ID of the KLOTS perspective.

See Also:
Constant Field Values
Constructor Detail

KlotsPerspective

public KlotsPerspective()
Method Detail

createInitialLayout

public void createInitialLayout(IPageLayout layout)

Specified by:
createInitialLayout in interface IPerspectiveFactory

createViewShortcuts

protected void createViewShortcuts(IPageLayout layout)
Parameters:
layout -

createNewWizardShortcuts

protected void createNewWizardShortcuts(IPageLayout layout)
Parameters:
layout -

createViewLayout

protected void createViewLayout(IPageLayout layout)
Parameters:
layout -

addViewIfExists

protected void addViewIfExists(IFolderLayout folder,
                               String id)
Add a view to a folder only if the view exists. This method can be used to add views from other plugins to get no exceptions if the plugin is not loaded.

Parameters:
folder - a folder layout
id - a view identifier