|
||||||||||
| 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.apache.cactus.eclipse.runner.ui.CactusPlugin
public class CactusPlugin
The plug-in runtime class for the Cactus plug-in.
| Field Summary | |
|---|---|
static java.lang.String |
CACTUS_CLIENT_LIBRARY_PATH
Name of the client libraries folder |
static java.lang.String |
CACTUS_COMMON_LIBRARY_PATH
Name of the common libraries folder |
static java.lang.String |
CACTUS_LIBRARY_PATH
Path to the plugin's library directory |
static java.lang.String |
CACTUS_RUN_IMAGE
|
static java.lang.String |
CACTUS_VARIABLE_ECLIPSE_HOME
The location where Eclipse was installed; |
| Fields inherited from class org.eclipse.core.runtime.Plugin |
|---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
| Constructor Summary | |
|---|---|
CactusPlugin(org.eclipse.core.runtime.IPluginDescriptor theDescription)
|
|
| Method Summary | |
|---|---|
static org.eclipse.core.runtime.CoreException |
createCoreException(java.lang.String theMessageKey,
java.lang.String theString,
java.lang.Throwable theException)
Helper method for other classes. |
static org.eclipse.core.runtime.CoreException |
createCoreException(java.lang.String theMessageKey,
java.lang.Throwable theException)
Helper method for other classes. |
protected org.eclipse.jface.resource.ImageRegistry |
createImageRegistry()
|
static void |
displayErrorMessage(java.lang.String theTitle,
java.lang.String theMessage,
org.eclipse.core.runtime.IStatus theStatus)
Displays an error dialog. |
static org.eclipse.swt.widgets.Shell |
getActiveWorkbenchShell()
|
static org.eclipse.ui.IWorkbenchWindow |
getActiveWorkbenchWindow()
|
static java.lang.String[] |
getContainerIds()
|
static IContainerManager |
getContainerManager(boolean theInitializeFlag)
Returns a container manager. |
static CactusPlugin |
getDefault()
|
static org.eclipse.swt.widgets.Display |
getDisplay()
|
static java.lang.String |
getPluginId()
|
protected void |
initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore theStore)
Initializes all preferences to their default values. |
static void |
log(org.eclipse.core.runtime.IStatus theStatus)
|
static void |
log(java.lang.String theMessage)
|
static void |
log(java.lang.Throwable theThrowable)
|
| Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
|---|
getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeImageRegistry, 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 |
| Field Detail |
|---|
public static final java.lang.String CACTUS_VARIABLE_ECLIPSE_HOME
public static final java.lang.String CACTUS_LIBRARY_PATH
public static final java.lang.String CACTUS_COMMON_LIBRARY_PATH
public static final java.lang.String CACTUS_CLIENT_LIBRARY_PATH
public static final java.lang.String CACTUS_RUN_IMAGE
| Constructor Detail |
|---|
public CactusPlugin(org.eclipse.core.runtime.IPluginDescriptor theDescription)
Plugin.Plugin(IPluginDescriptor)| Method Detail |
|---|
public static CactusPlugin getDefault()
public static org.eclipse.swt.widgets.Shell getActiveWorkbenchShell()
public static org.eclipse.ui.IWorkbenchWindow getActiveWorkbenchWindow()
public static java.lang.String getPluginId()
public static void log(java.lang.String theMessage)
theMessage - the message to logpublic static void log(java.lang.Throwable theThrowable)
theThrowable - throwable to logpublic static void log(org.eclipse.core.runtime.IStatus theStatus)
theStatus - status to logpublic static org.eclipse.swt.widgets.Display getDisplay()
protected void initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore theStore)
initializeDefaultPreferences in class org.eclipse.ui.plugin.AbstractUIPlugintheStore - the preference store
public static IContainerManager getContainerManager(boolean theInitializeFlag)
throws org.eclipse.core.runtime.CoreException
theInitializeFlag - true if the container manager should be
initialized
org.eclipse.core.runtime.CoreException - if the container manager can't be contructed
public static void displayErrorMessage(java.lang.String theTitle,
java.lang.String theMessage,
org.eclipse.core.runtime.IStatus theStatus)
theTitle - title of the dialogtheMessage - message to display in the dialogtheStatus - status of the error
public static org.eclipse.core.runtime.CoreException createCoreException(java.lang.String theMessageKey,
java.lang.Throwable theException)
theMessageKey - the key of the message to be throwntheException - a low-level exception, or null if not applicable
public static org.eclipse.core.runtime.CoreException createCoreException(java.lang.String theMessageKey,
java.lang.String theString,
java.lang.Throwable theException)
theMessageKey - the key of the message to be throwntheString - String to be concatenated with the messagetheException - a low-level exception, or null if not applicable
public static java.lang.String[] getContainerIds()
IContainerManager#getContainerIds()protected org.eclipse.jface.resource.ImageRegistry createImageRegistry()
createImageRegistry in class org.eclipse.ui.plugin.AbstractUIPlugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||