public class ImportPlugin extends AbstractUIPlugin
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_TYPE_ID
The content type ID used for import / export specifications.
|
static String |
IMG_EXPORT |
static String |
IMG_IMPORT |
static String |
IMG_REIMPORT_NEW |
static String |
IMG_REIMPORT_REVISION |
static String |
IMG_STATUS_ERROR |
static String |
IMG_STATUS_INFO |
static String |
IMG_STATUS_OK |
static String |
IMG_STATUS_WARNING |
static String |
PLUGIN_ID |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
Constructor and Description |
---|
ImportPlugin()
The constructor
|
Modifier and Type | Method and Description |
---|---|
static ImportPlugin |
getDefault()
Returns the shared instance
|
protected void |
initializeImageRegistry(ImageRegistry reg) |
static boolean |
isDebugging(String option) |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
static boolean |
useNewGUI() |
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
public static final String PLUGIN_ID
public static final String CONTENT_TYPE_ID
public static final String IMG_REIMPORT_NEW
public static final String IMG_REIMPORT_REVISION
public static final String IMG_STATUS_ERROR
public static final String IMG_STATUS_OK
public static final String IMG_STATUS_INFO
public static final String IMG_STATUS_WARNING
public static final String IMG_IMPORT
public static final String IMG_EXPORT
public static boolean useNewGUI()
public static boolean isDebugging(String option)
protected void initializeImageRegistry(ImageRegistry reg)
initializeImageRegistry
in class AbstractUIPlugin
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
start
in class AbstractUIPlugin
Exception
public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class AbstractUIPlugin
Exception
public static ImportPlugin getDefault()