com.aptana.ide.core.ui
Class WebPerspectiveFactory

java.lang.Object
  extended by com.aptana.ide.core.ui.AbstractPerspectiveFactory
      extended by com.aptana.ide.core.ui.WebPerspectiveFactory
All Implemented Interfaces:
org.eclipse.ui.IPerspectiveFactory

public class WebPerspectiveFactory
extends AbstractPerspectiveFactory
implements org.eclipse.ui.IPerspectiveFactory

Author:
Spike Washburn

Field Summary
static java.lang.String PERSPECTIVE_ID
          PERSPECTIVE_ID
static int VERSION
          VERSION
 
Constructor Summary
WebPerspectiveFactory()
           
 
Method Summary
static void addResettingHandler(java.lang.Runnable handler)
          addResetHandler
 void createInitialLayout(org.eclipse.ui.IPageLayout layout)
           
static java.util.List getFileWizardShortcuts()
          Gets the default set of project-based wizard shortcuts
static java.util.List getProjectWizardShortcuts()
          Gets the default set of project-based wizard shortcuts
static java.lang.String[] getWizardShortcuts()
          Gets the default set of wizard shortcuts
static boolean isSameOrDescendantPerspective(org.eclipse.ui.IPerspectiveDescriptor desc)
          Is the current perspective a descendant perspective of the original perspective
static void removeResettingHandler(java.lang.Runnable handler)
          removeResetHandler
static void resetPerspective(org.eclipse.ui.IWorkbenchPage page)
          Resets the current perspective.
 
Methods inherited from class com.aptana.ide.core.ui.AbstractPerspectiveFactory
findPage, findReleaseNotesURL, getAptanaLastModified, getFeature, showReleaseNotes, showUIHelpPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

public static final int VERSION
VERSION

See Also:
Constant Field Values

PERSPECTIVE_ID

public static final java.lang.String PERSPECTIVE_ID
PERSPECTIVE_ID

See Also:
Constant Field Values
Constructor Detail

WebPerspectiveFactory

public WebPerspectiveFactory()
Method Detail

addResettingHandler

public static void addResettingHandler(java.lang.Runnable handler)
addResetHandler

Parameters:
handler -

createInitialLayout

public void createInitialLayout(org.eclipse.ui.IPageLayout layout)
Specified by:
createInitialLayout in interface org.eclipse.ui.IPerspectiveFactory
See Also:
IPerspectiveFactory.createInitialLayout(org.eclipse.ui.IPageLayout)

getWizardShortcuts

public static java.lang.String[] getWizardShortcuts()
Gets the default set of wizard shortcuts

Returns:
String[]

getProjectWizardShortcuts

public static java.util.List getProjectWizardShortcuts()
Gets the default set of project-based wizard shortcuts

Returns:
String[]

getFileWizardShortcuts

public static java.util.List getFileWizardShortcuts()
Gets the default set of project-based wizard shortcuts

Returns:
String[]

removeResettingHandler

public static void removeResettingHandler(java.lang.Runnable handler)
removeResetHandler

Parameters:
handler -

resetPerspective

public static void resetPerspective(org.eclipse.ui.IWorkbenchPage page)
Resets the current perspective.

Parameters:
page -

isSameOrDescendantPerspective

public static boolean isSameOrDescendantPerspective(org.eclipse.ui.IPerspectiveDescriptor desc)
Is the current perspective a descendant perspective of the original perspective

Parameters:
perspective -
Returns: