|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
org.eclipse.m2m.atl.adt.ui.AtlUIPlugin
public class AtlUIPlugin
The main plugin class to be used in the desktop. This class is necessary for every plug-in because it used by Eclipse to dialog with it and its extensions.
Field Summary |
---|
Fields inherited from class org.eclipse.core.runtime.Plugin |
---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Constructor Summary | |
---|---|
AtlUIPlugin()
Deprecated. |
Method Summary | |
---|---|
static org.eclipse.ui.IWorkbenchPage |
getActivePage()
|
static AtlUIPlugin |
getDefault()
Returns the shared instance of the plug-in. |
org.eclipse.swt.graphics.Image |
getImage(java.lang.String path)
Returns the Image at the given path. |
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(java.lang.String name)
Returns the image descriptor with the given relative path. |
static java.lang.String |
getPluginId()
|
ProblemMarkerManager |
getProblemMarkerManager()
Returns the problem markers manager. |
java.util.ResourceBundle |
getResourceBundle()
Returns the plugin's resource bundle. |
static java.lang.String |
getResourceString(java.lang.String key)
Returns the string from the plugin's resource bundle, or 'key' if not found. |
AtlTextTools |
getTextTools()
Gets the ATL text tools used by the plug-in. |
protected void |
initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore store)
|
void |
stop(org.osgi.framework.BundleContext context)
|
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
---|
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, start, startup |
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 |
Constructor Detail |
---|
public AtlUIPlugin()
Method Detail |
---|
public ProblemMarkerManager getProblemMarkerManager()
public java.util.ResourceBundle getResourceBundle()
public AtlTextTools getTextTools()
protected void initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore store)
initializeDefaultPreferences
in class org.eclipse.ui.plugin.AbstractUIPlugin
AbstractUIPlugin.initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore)
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.eclipse.ui.plugin.AbstractUIPlugin
java.lang.Exception
AbstractUIPlugin.stop(org.osgi.framework.BundleContext)
public org.eclipse.swt.graphics.Image getImage(java.lang.String path)
Image
at the given path.
path
- the image path
Image
public static org.eclipse.ui.IWorkbenchPage getActivePage()
public static AtlUIPlugin getDefault()
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String name)
name
- the image name
public static java.lang.String getPluginId()
public static java.lang.String getResourceString(java.lang.String key)
key
- the default value
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |