java.lang.Objectorg.eclipse.core.runtime.Plugin
com.ibm.jdg2e.simplemodel.SimpleModel
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 | |
|---|---|
SimpleModel()
The constructor. |
|
| Method Summary | |
|---|---|
static SimpleModel |
getDefault()
|
java.util.ResourceBundle |
getResourceBundle()
|
static java.lang.String |
getResourceString(java.lang.String key)
|
static IRoadTrip |
getRoadTrip()
Creates and returns an instance of the RoadTrip. |
void |
save()
Serializes the road trip model to the plug-in's state directory. |
void |
stop(org.osgi.framework.BundleContext context)
Saves the road trip model when this plug-in is stopped. |
| Methods inherited from class org.eclipse.core.runtime.Plugin |
|---|
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, start, startup, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SimpleModel()
| Method Detail |
public static SimpleModel getDefault()
public java.util.ResourceBundle getResourceBundle()
public static java.lang.String getResourceString(java.lang.String key)
key - for the string to be located.
public static IRoadTrip getRoadTrip()
public void save()
public void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
java.lang.ExceptionBundleActivator.stop(org.osgi.framework.BundleContext)