|
||||||||||
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
modesteditor.core.ModestEditorPlugin
public class ModestEditorPlugin
The activator class controls the plug-in life cycle of the complete Modesteditor plugin
Field Summary | |
---|---|
static java.lang.String |
DIST
Color attribute for the color in syntax highlighting. |
static java.lang.String |
KEYWORD
Color attribute for the color in syntax highlighting. |
static java.lang.String |
MODEST_MARK_ERRORS
Boolean attribute for whether to mark syntax errors in the editor. |
static java.lang.String |
MODEST_PARTITIONING
|
static java.lang.String |
MULTI_LINE_COMMENT
Color attribute for the color in syntax highlighting. |
static java.lang.String |
PLUGIN_ID
|
static java.lang.String |
SINGLE_LINE_COMMENT
Color attribute for the color in syntax highlighting. |
static java.lang.String |
TYPE
Color attribute for the color in syntax highlighting. |
Fields inherited from class org.eclipse.core.runtime.Plugin |
---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Constructor Summary | |
---|---|
ModestEditorPlugin()
The constructor, initializes the plugin variable to fulfill the singleton pattern. |
Method Summary | |
---|---|
static ModestEditorPlugin |
getDefault()
Returns the shared instance in order to make it a singleton |
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(java.lang.String name)
Return the image descriptor of the given filename. |
org.eclipse.jface.text.rules.RuleBasedScanner |
getModestCodeScanner()
Returns the singleton MoDeST code scanner. |
ModestColorProvider |
getModestColorProvider()
Returns the singleton Modest color provider. |
ModestPartitionScanner |
getModestPartitionScanner()
Return a scanner for creating MoDeST partitions. |
ModestTextStyleProvider |
getModestTextStyleProvider()
Returns the singleton Modest text style provider. |
protected void |
initializeDefaultPluginPreferences()
Initializes default values for this plug-in's preferences. |
void |
start(org.osgi.framework.BundleContext context)
Start function which initializes the default preferences of the plugin |
void |
stop(org.osgi.framework.BundleContext context)
Stop function which releases the context |
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
---|
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, 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 MODEST_PARTITIONING
public static final java.lang.String MULTI_LINE_COMMENT
public static final java.lang.String SINGLE_LINE_COMMENT
public static final java.lang.String KEYWORD
public static final java.lang.String TYPE
public static final java.lang.String DIST
public static final java.lang.String MODEST_MARK_ERRORS
Constructor Detail |
---|
public ModestEditorPlugin()
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
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
java.lang.Exception
public static ModestEditorPlugin getDefault()
public ModestColorProvider getModestColorProvider()
public ModestTextStyleProvider getModestTextStyleProvider()
public org.eclipse.jface.text.rules.RuleBasedScanner getModestCodeScanner()
public ModestPartitionScanner getModestPartitionScanner()
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String name)
protected void initializeDefaultPluginPreferences()
initializeDefaultPluginPreferences
in class org.eclipse.ui.plugin.AbstractUIPlugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |