public abstract class AbstractUIPluginACTF
extends org.eclipse.ui.plugin.AbstractUIPlugin
AbstractUIPlugin. This class enables to
create temporary directory and files under the plugin state area.Plugin| 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, startuppublic void start(org.osgi.framework.BundleContext context)
throws Exception
start in interface org.osgi.framework.BundleActivatorstart in class org.eclipse.ui.plugin.AbstractUIPluginExceptionpublic void stop(org.osgi.framework.BundleContext context)
throws Exception
stop in interface org.osgi.framework.BundleActivatorstop in class org.eclipse.ui.plugin.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