|
Ecore | |||||||||
| 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.topcased.modeler.ecore.EcorePlugin
public class EcorePlugin
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 | |
|---|---|
EcorePlugin()
The constructor. |
|
| Method Summary | |
|---|---|
static void |
displayDialog(java.lang.String title,
java.lang.String message,
int level)
Display a dialog box with the specified level |
static org.eclipse.swt.widgets.Shell |
getActiveWorkbenchShell()
Returns the active workbench shell |
static org.eclipse.ui.IWorkbenchWindow |
getActiveWorkbenchWindow()
Returns the active workbench window |
static EcorePlugin |
getDefault()
Returns the shared instance. |
static java.lang.String |
getId()
|
static void |
log(org.eclipse.core.runtime.IStatus status)
Log an IStatus |
static void |
log(java.lang.String message,
int level)
Log a message with given level into the Eclipse log file |
static void |
log(java.lang.Throwable e)
Log an exception into the Eclipse log file |
void |
start(org.osgi.framework.BundleContext context)
This method is called upon plug-in activation |
void |
stop(org.osgi.framework.BundleContext context)
This method is called when the plug-in is stopped |
| Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
|---|
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, 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 |
| Constructor Detail |
|---|
public EcorePlugin()
| Method Detail |
|---|
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.ExceptionBundleActivator.start(org.osgi.framework.BundleContext)
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.ExceptionBundleActivator.stop(org.osgi.framework.BundleContext)public static EcorePlugin getDefault()
public static java.lang.String getId()
public static void log(java.lang.String message,
int level)
message - the message to loglevel - the message prioritypublic static void log(java.lang.Throwable e)
e - the exception to logpublic static void log(org.eclipse.core.runtime.IStatus status)
status - the status to logpublic static org.eclipse.swt.widgets.Shell getActiveWorkbenchShell()
public static org.eclipse.ui.IWorkbenchWindow getActiveWorkbenchWindow()
public static void displayDialog(java.lang.String title,
java.lang.String message,
int level)
title - title dialog boxmessage - message displayedlevel - message level
|
Ecore | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.