|
||||||||||
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.cdt.make.internal.ui.MakeUIPlugin
public class MakeUIPlugin
The main plugin class to be used in the desktop.
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 | |
---|---|
MakeUIPlugin()
The constructor. |
Method Summary | |
---|---|
static void |
errorDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.String message,
org.eclipse.core.runtime.IStatus s)
Utility method with conventions |
static void |
errorDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.String message,
java.lang.Throwable t)
Utility method with conventions |
static org.eclipse.ui.IWorkbenchPage |
getActivePage()
Returns the active workbench page or null if none. |
static org.eclipse.swt.widgets.Shell |
getActiveWorkbenchShell()
|
static org.eclipse.ui.IWorkbenchWindow |
getActiveWorkbenchWindow()
Returns the active workbench window or null if none |
static MakeUIPlugin |
getDefault()
Returns the shared instance. |
IMakefileDocumentProvider |
getMakefileDocumentProvider()
|
static java.lang.String |
getPluginId()
Returns the Uniqu idenetifier for this plugin. |
static org.eclipse.swt.graphics.Color |
getPreferenceColor(java.lang.String key)
Returns the preference color, identified by the given preference. |
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. |
org.eclipse.swt.widgets.Shell |
getShell()
|
static java.lang.String |
getUniqueIdentifier()
Convenience method which returns the unique identifier of this plugin. |
IWorkingCopyManager |
getWorkingCopyManager()
|
static org.eclipse.core.resources.IWorkspace |
getWorkspace()
Returns the workspace instance. |
static void |
log(org.eclipse.core.runtime.IStatus status)
|
static void |
log(java.lang.Throwable e)
|
static void |
logErrorMessage(java.lang.String message)
|
static void |
logException(java.lang.Throwable e)
|
static void |
logException(java.lang.Throwable e,
java.lang.String title,
java.lang.String message)
|
void |
stop(org.osgi.framework.BundleContext context)
|
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
---|
getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, 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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MakeUIPlugin()
Method Detail |
---|
public static MakeUIPlugin getDefault()
public static java.lang.String getPluginId()
public static org.eclipse.core.resources.IWorkspace getWorkspace()
public static org.eclipse.swt.widgets.Shell getActiveWorkbenchShell()
public static org.eclipse.ui.IWorkbenchWindow getActiveWorkbenchWindow()
null
if none
public static org.eclipse.ui.IWorkbenchPage getActivePage()
null
if none.
public static java.lang.String getResourceString(java.lang.String key)
public java.util.ResourceBundle getResourceBundle()
public static java.lang.String getUniqueIdentifier()
public static org.eclipse.swt.graphics.Color getPreferenceColor(java.lang.String key)
public static void log(org.eclipse.core.runtime.IStatus status)
public static void logErrorMessage(java.lang.String message)
public static void logException(java.lang.Throwable e, java.lang.String title, java.lang.String message)
public static void logException(java.lang.Throwable e)
public static void log(java.lang.Throwable e)
public static void errorDialog(org.eclipse.swt.widgets.Shell shell, java.lang.String title, java.lang.String message, org.eclipse.core.runtime.IStatus s)
public static void errorDialog(org.eclipse.swt.widgets.Shell shell, java.lang.String title, java.lang.String message, java.lang.Throwable t)
public org.eclipse.swt.widgets.Shell getShell()
public IMakefileDocumentProvider getMakefileDocumentProvider()
public IWorkingCopyManager getWorkingCopyManager()
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |