sota.app
Class Application
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
sota.app.Application
- All Implemented Interfaces:
- org.eclipse.equinox.app.IApplication, org.osgi.framework.BundleActivator
public class Application
- extends org.eclipse.ui.plugin.AbstractUIPlugin
- implements org.eclipse.equinox.app.IApplication
This class controls all aspects of the application's execution
Fields inherited from class org.eclipse.core.runtime.Plugin |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Fields inherited from interface org.eclipse.equinox.app.IApplication |
EXIT_OK, EXIT_RELAUNCH, EXIT_RESTART |
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, start, startup, stop |
Methods inherited from class org.eclipse.core.runtime.Plugin |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ast
private static ASTManager ast
colorManager
private ColorManager colorManager
fileDocument
private static org.eclipse.jface.text.Document fileDocument
in
public static java.io.PipedInputStream in
instance
private static Application instance
PLUGIN_ID
public static final java.lang.String PLUGIN_ID
- See Also:
- Constant Field Values
statusLineManager
private org.eclipse.jface.action.IStatusLineManager statusLineManager
Application
public Application()
createInstance
public static void createInstance()
getASTManager
public ASTManager getASTManager()
getColor
public static org.eclipse.swt.graphics.Color getColor(org.eclipse.swt.graphics.RGB s)
getColorFromPreferenceStore
public static org.eclipse.swt.graphics.Color getColorFromPreferenceStore(java.lang.String s)
getColorManager
public ColorManager getColorManager()
getConfiguration
public ProjectConfig getConfiguration()
getFileDocument
public static org.eclipse.jface.text.Document getFileDocument()
getInstance
public static Application getInstance()
hasInstance
public static boolean hasInstance()
initializeImageRegistry
public void initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg)
- Overrides:
initializeImageRegistry
in class org.eclipse.ui.plugin.AbstractUIPlugin
setFileDocument
public static void setFileDocument(org.eclipse.jface.text.Document fileDocument)
start
public java.lang.Object start(org.eclipse.equinox.app.IApplicationContext context)
- Specified by:
start
in interface org.eclipse.equinox.app.IApplication
stop
public void stop()
- Specified by:
stop
in interface org.eclipse.equinox.app.IApplication
updateStatusLine
public void updateStatusLine(java.lang.String message,
boolean isError)