|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
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
ag.ion.noa4e.ui.NOAUIPlugin
public class NOAUIPlugin
The main plugin class to be used in the desktop.
Field Summary | |
---|---|
static java.lang.String |
PLUGIN_ID
ID of the plugin. |
static java.lang.String |
PREFERENCE_OFFICE_HOME
Preferences key of the office home path. |
static java.lang.String |
PREFERENCE_PREVENT_TERMINATION
Preferences key of the prevent office termination information. |
Fields inherited from class org.eclipse.core.runtime.Plugin |
---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Constructor Summary | |
---|---|
NOAUIPlugin()
The constructor. |
Method Summary | |
---|---|
static NOAUIPlugin |
getDefault()
Returns the shared instance. |
static org.eclipse.ui.forms.widgets.FormToolkit |
getFormToolkit()
Returns form toolkit. |
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(java.lang.String path)
Returns an image descriptor for the image file at the given plug-in relative path. |
void |
start(org.osgi.framework.BundleContext context)
This method is called upon plug-in activation. |
static org.eclipse.core.runtime.IStatus |
startLocalOfficeApplication(org.eclipse.swt.widgets.Shell shell,
IOfficeApplication officeApplication)
Starts local office application. |
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 |
Field Detail |
---|
public static final java.lang.String PLUGIN_ID
public static final java.lang.String PREFERENCE_OFFICE_HOME
public static final java.lang.String PREFERENCE_PREVENT_TERMINATION
Constructor Detail |
---|
public NOAUIPlugin()
Method Detail |
---|
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.ui.plugin.AbstractUIPlugin
context
- bundle context
java.lang.Exception
- if the bundle can not be startedpublic 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
context
- bundle context
java.lang.Exception
- if the bundle can not be stoppedpublic static NOAUIPlugin getDefault()
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String path)
path
- the path
public static org.eclipse.ui.forms.widgets.FormToolkit getFormToolkit()
public static org.eclipse.core.runtime.IStatus startLocalOfficeApplication(org.eclipse.swt.widgets.Shell shell, IOfficeApplication officeApplication)
shell
- shell to be usedofficeApplication
- office application to be started
IStatus.OK
the application was started
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |