|
||||||||||
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
edu.cmu.sei.osate.workspace.WorkspacePlugin
public class WorkspacePlugin
The main plugin class to be used in the desktop.
Field Summary | |
---|---|
static java.lang.String |
AADL_PACKAGE_SEPARATOR
Package separator in AADL source files. |
static java.lang.String |
AADL_PACKAGES_DIR
Aadl pakcages directory. |
static java.lang.String |
AADL_PROJECT_FILE
Name of preference for standard AADL property set file |
static java.lang.String |
AADL_PROPERTIES_FILE
Name of preference for standard AADL property set file |
static java.lang.String |
AADLPATH_FILENAME
Name of file containing project's aadlpath |
static java.lang.String |
AUTO_REINSTANTIATE
|
static java.lang.String |
DEFAULT_MODEL_DIR
Default model directory. |
static java.lang.String |
DEFAULT_SOURCE_DIR
Default source directory. |
static java.lang.String |
EMF_REFERENCE_FLAG
Name of preference for standard AADL property set file |
static java.lang.String |
EXPAND_DEFAULT_FLAG
Name of preference for standard AADL property set file |
static java.lang.String |
FILE_PACKAGE_SEPARATOR
Package separator in package file names. |
static java.lang.String |
INSTANCE_MODEL_POSTFIX
instance model name postfix |
static java.lang.String |
MODEL_FILE_EXT
File extension of AADL model files |
static java.lang.String |
PLUGIN_ID
ID of the AADL core plugin (value "edu.cmu.sei.osate.workspace" ) |
static java.lang.String |
PROJECT_MODEL_DIR
Name of model directory project property. |
static java.lang.String |
PROJECT_SOURCE_DIR
Name of source directory project property. |
static java.lang.String |
PROPERTY_SETS_DIR
Default model directory. |
static java.lang.String |
SOURCE_FILE_EXT
File extension of AADL source text files |
Fields inherited from class org.eclipse.core.runtime.Plugin |
---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Constructor Summary | |
---|---|
WorkspacePlugin()
The constructor. |
Method Summary | |
---|---|
static void |
ensureDirectoryExistance(java.io.File toCheck)
|
static WorkspacePlugin |
getDefault()
Returns the shared instance. |
static java.net.URL |
getInstallURL()
|
static java.lang.String |
getPluginId()
|
static org.eclipse.jface.preference.PreferenceStore |
getPreferenceStore(org.eclipse.core.resources.IProject project)
|
java.util.ResourceBundle |
getResourceBundle()
Returns the plugin's resource bundle, |
static java.lang.String |
getResourceString(java.lang.String key)
Returns the string from the plugin's resource bundle, or 'key' if not found. |
static void |
log(org.eclipse.core.runtime.IStatus status)
|
static void |
log(java.lang.Throwable t)
|
static void |
logErrorMessage(java.lang.String message)
|
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 |
Field Detail |
---|
public static final java.lang.String PLUGIN_ID
"edu.cmu.sei.osate.workspace"
)
public static final java.lang.String AADLPATH_FILENAME
public static final java.lang.String SOURCE_FILE_EXT
public static final java.lang.String MODEL_FILE_EXT
public static final java.lang.String AADL_PACKAGE_SEPARATOR
public static final java.lang.String FILE_PACKAGE_SEPARATOR
public static final java.lang.String AADL_PROPERTIES_FILE
public static final java.lang.String AADL_PROJECT_FILE
public static final java.lang.String PROJECT_SOURCE_DIR
public static final java.lang.String DEFAULT_SOURCE_DIR
IPath
format with
"/
" as the separator character.
public static final java.lang.String PROJECT_MODEL_DIR
public static final java.lang.String DEFAULT_MODEL_DIR
IPath
format with
"/
" as the separator character.
public static final java.lang.String AADL_PACKAGES_DIR
public static final java.lang.String PROPERTY_SETS_DIR
public static final java.lang.String INSTANCE_MODEL_POSTFIX
public static final java.lang.String EXPAND_DEFAULT_FLAG
public static final java.lang.String EMF_REFERENCE_FLAG
public static final java.lang.String AUTO_REINSTANTIATE
Constructor Detail |
---|
public WorkspacePlugin()
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 WorkspacePlugin getDefault()
public static java.lang.String getResourceString(java.lang.String key)
public java.util.ResourceBundle getResourceBundle()
public static java.net.URL getInstallURL()
public static void log(org.eclipse.core.runtime.IStatus status)
public static void log(java.lang.Throwable t)
public static void logErrorMessage(java.lang.String message)
public static java.lang.String getPluginId()
public static org.eclipse.jface.preference.PreferenceStore getPreferenceStore(org.eclipse.core.resources.IProject project)
public static void ensureDirectoryExistance(java.io.File toCheck)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |