public abstract class AbstractUIPluginACTF extends AbstractUIPlugin
AbstractUIPlugin. This class enables to
create temporary directory and files under the plugin state area.PluginPLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME| Constructor and Description |
|---|
AbstractUIPluginACTF() |
| Modifier and Type | Method and Description |
|---|---|
File |
createTempFile(String prefix,
String suffix)
Create temporary file under the plugin state directory.
|
File |
getTempDirectory()
Return temporary directory for this plugin.
|
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, shutdown, startupfind, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toStringpublic void start(org.osgi.framework.BundleContext context)
throws Exception
start in interface org.osgi.framework.BundleActivatorstart in class AbstractUIPluginExceptionpublic void stop(org.osgi.framework.BundleContext context)
throws Exception
stop in interface org.osgi.framework.BundleActivatorstop in class AbstractUIPluginExceptionpublic File createTempFile(String prefix, String suffix) throws IOException
prefix - the prefix string to be used in generating the file's name;
must be at least three characters longsuffix - the suffix string to be used in generating the file's name;
may be null, in which case the suffix ".tmp" will be usedFileIOException