|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| 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.tptp.platform.common.ui.internal.CommonUIPlugin
public class CommonUIPlugin
The activator class controls the plug-in life cycle
| Field Summary | |
|---|---|
static java.lang.String |
EP_NAVIGATOR_EXTENSIONS
Extension point id used to register navigator extensions. |
static java.lang.String |
EP_REPORT_EXTENSIONS
Extension point id used to register the report extensions. |
protected static java.lang.String |
KEYSTORE
|
protected static CommonUIPlugin |
plugin
The only instance of this singleton class |
static java.lang.String |
PLUGIN_ID
The plug-in id |
| Fields inherited from class org.eclipse.core.runtime.Plugin |
|---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
| Constructor Summary | |
|---|---|
CommonUIPlugin()
The constructor |
|
| Method Summary | |
|---|---|
protected boolean |
getContributions(java.lang.String perspectiveId)
Check if required activities are enabled. |
static CommonUIPlugin |
getDefault()
Returns the shared instance |
static java.lang.String |
getID()
|
static java.lang.String |
getKeyStoreLocation()
|
protected java.lang.String |
getPerspectiveLabel(java.lang.String perspectiveId)
Returns the label of the perspective with the given identifier or null if no such perspective exists. |
java.lang.String |
getWorkspaceName()
|
protected void |
initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore store)
|
protected boolean |
isCurrentPerspective(org.eclipse.ui.IWorkbenchWindow window,
java.lang.String perspectiveId)
Returns whether the given perspective identifier matches the identifier of the current perspective. |
static void |
log(java.lang.Throwable e)
|
boolean |
openPerspectiveSwitchDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String perspectiveId,
org.eclipse.jface.preference.IPreferenceStore preferenceStore,
java.lang.String preferenceKey,
java.lang.String message)
Asks the user whether they want to switch to the given perspective. |
void |
start(org.osgi.framework.BundleContext context)
|
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, 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 |
| Field Detail |
|---|
protected static final java.lang.String KEYSTORE
public static final java.lang.String EP_NAVIGATOR_EXTENSIONS
public static final java.lang.String PLUGIN_ID
public static final java.lang.String EP_REPORT_EXTENSIONS
protected static CommonUIPlugin plugin
| Constructor Detail |
|---|
public CommonUIPlugin()
| Method Detail |
|---|
public static java.lang.String getID()
public void start(org.osgi.framework.BundleContext context)
throws java.lang.Exception
start in interface org.osgi.framework.BundleActivatorstart in class org.eclipse.ui.plugin.AbstractUIPluginjava.lang.Exception
public void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
stop in interface org.osgi.framework.BundleActivatorstop in class org.eclipse.ui.plugin.AbstractUIPluginjava.lang.Exceptionpublic static CommonUIPlugin getDefault()
public boolean openPerspectiveSwitchDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String perspectiveId,
org.eclipse.jface.preference.IPreferenceStore preferenceStore,
java.lang.String preferenceKey,
java.lang.String message)
protected boolean isCurrentPerspective(org.eclipse.ui.IWorkbenchWindow window,
java.lang.String perspectiveId)
perspectiveId - the identifier
protected boolean getContributions(java.lang.String perspectiveId)
protected java.lang.String getPerspectiveLabel(java.lang.String perspectiveId)
null if no such perspective exists.
perspectiveId - the identifier
null if no such perspective existspublic java.lang.String getWorkspaceName()
public static java.lang.String getKeyStoreLocation()
protected void initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore store)
initializeDefaultPreferences in class org.eclipse.ui.plugin.AbstractUIPluginpublic static void log(java.lang.Throwable e)
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||