com.aptana.ide.rcp
Class AbstractIDEApplication

java.lang.Object
  extended by com.aptana.ide.rcp.AbstractIDEApplication
All Implemented Interfaces:
org.eclipse.core.runtime.IExecutableExtension, org.eclipse.core.runtime.IPlatformRunnable
Direct Known Subclasses:
Application

public abstract class AbstractIDEApplication
extends java.lang.Object
implements org.eclipse.core.runtime.IPlatformRunnable, org.eclipse.core.runtime.IExecutableExtension

The "main program" for the Eclipse IDE. Note: This class is a snapshot of the org.eclipse.ui.internal.ide.IDEApplication with some added hooks so that subclasses can customize the workbench.

Since:
3.0

Field Summary
 
Fields inherited from interface org.eclipse.core.runtime.IPlatformRunnable
EXIT_OK, EXIT_RESTART
 
Constructor Summary
AbstractIDEApplication()
          Creates a new IDE application.
 
Method Summary
protected  org.eclipse.swt.widgets.Display createDisplay()
          Creates the display used by the application.
protected abstract  org.eclipse.ui.application.WorkbenchAdvisor createWorkbenchAdvisor()
          Factory method for creating the WorkbenchAdvisor
 java.lang.Object run(java.lang.Object args)
           
 void setInitializationData(org.eclipse.core.runtime.IConfigurationElement config, java.lang.String propertyName, java.lang.Object data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractIDEApplication

public AbstractIDEApplication()
Creates a new IDE application.

Method Detail

run

public java.lang.Object run(java.lang.Object args)
                     throws java.lang.Exception
Specified by:
run in interface org.eclipse.core.runtime.IPlatformRunnable
Throws:
java.lang.Exception
See Also:
IPlatformRunnable.run(java.lang.Object)

createWorkbenchAdvisor

protected abstract org.eclipse.ui.application.WorkbenchAdvisor createWorkbenchAdvisor()
Factory method for creating the WorkbenchAdvisor

Returns:
WorkbenchAdvisor

createDisplay

protected org.eclipse.swt.widgets.Display createDisplay()
Creates the display used by the application.

Returns:
the display used by the application

setInitializationData

public void setInitializationData(org.eclipse.core.runtime.IConfigurationElement config,
                                  java.lang.String propertyName,
                                  java.lang.Object data)
                           throws org.eclipse.core.runtime.CoreException
Specified by:
setInitializationData in interface org.eclipse.core.runtime.IExecutableExtension
Throws:
org.eclipse.core.runtime.CoreException
See Also:
IExecutableExtension.setInitializationData(org.eclipse.core.runtime.IConfigurationElement, java.lang.String, java.lang.Object)