|
||||||||||
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.mofscript.editor.MofScriptEditorPlugin
public class MofScriptEditorPlugin
The main MOFSCript plugin class
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 | |
---|---|
MofScriptEditorPlugin()
The default constructor. |
Method Summary | |
---|---|
void |
executionMessage(java.lang.String type,
java.lang.String description)
ExecutionProductionListener interface Handles the executionMessage event. |
static org.eclipse.ui.IWorkbenchPage |
getActivePage()
Gets the active page |
MofScriptScanner |
getCodeScanner()
|
ColorManager |
getColorManager()
|
static MofScriptEditorPlugin |
getDefault()
Returns the shared instance. |
static ExecutionUtility |
getExecutionUtility()
|
org.eclipse.swt.widgets.FileDialog |
getFileDialog()
Returns a file dialog |
org.eclipse.swt.widgets.FileDialog |
getFileSaveDialog()
Returns a file save dialog |
ParserUtil |
getParserUtil()
Returns the parser util used for access to parsing and exeuction |
java.lang.String |
getPreferenceString(java.lang.String what)
Returns a preference String from the preference store |
java.util.ResourceBundle |
getResourceBundle()
|
static java.lang.String |
getResourceString(java.lang.String key)
Returns the string from the plugin's resource bundle, or 'key' if not found. |
static org.eclipse.ui.console.MessageConsoleStream |
getStream()
Returns the message stream associated with the console |
boolean |
hasUML2Support()
Returns a flag for UML2 support |
void |
initializeDefaultPluginPreferences()
|
static void |
print(java.lang.String s)
prints a message to the console |
static void |
println(java.lang.String s)
Prints a message to the console |
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 |
---|
getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, 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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MofScriptEditorPlugin()
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
-
java.lang.Exception
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
context
-
java.lang.Exception
public static MofScriptEditorPlugin getDefault()
public static org.eclipse.ui.IWorkbenchPage getActivePage()
public static java.lang.String getResourceString(java.lang.String key)
key
-
public static ExecutionUtility getExecutionUtility()
public java.util.ResourceBundle getResourceBundle()
public ColorManager getColorManager()
public MofScriptScanner getCodeScanner()
public boolean hasUML2Support()
public ParserUtil getParserUtil()
public org.eclipse.swt.widgets.FileDialog getFileDialog()
public org.eclipse.swt.widgets.FileDialog getFileSaveDialog()
public void initializeDefaultPluginPreferences()
initializeDefaultPluginPreferences
in class org.eclipse.ui.plugin.AbstractUIPlugin
public java.lang.String getPreferenceString(java.lang.String what)
what
-
public static void print(java.lang.String s)
s
- public static void println(java.lang.String s)
s
- public static org.eclipse.ui.console.MessageConsoleStream getStream()
public void executionMessage(java.lang.String type, java.lang.String description)
executionMessage
in interface ExecutionMessageListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |