public class ConfPlugin extends AbstractUIPlugin
Modifier and Type | Field and Description |
---|---|
static String |
COMPRESSED_TRANSFER |
static String |
CRUD_WARNING_PREFERENCE |
static String |
MOVE_WARNING_PREFERENCE |
static String |
PLUGIN_ID |
static String |
PROXY_CONNECTION |
static String |
PROXY_CONNECTION_HTTP |
static String |
PROXY_CONNECTION_PORT |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
Constructor and Description |
---|
ConfPlugin()
The constructor
|
Modifier and Type | Method and Description |
---|---|
static ConfPlugin |
getDefault()
Returns the shared instance
|
void |
handleError(Throwable cause,
String message,
Object... args)
Logs the problem to the system log.
|
static IStatus |
log(int severity,
Throwable cause,
String message,
Object... arguments) |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, 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 COMPRESSED_TRANSFER
public static final String CRUD_WARNING_PREFERENCE
public static final String PROXY_CONNECTION
public static final String PROXY_CONNECTION_HTTP
public static final String PROXY_CONNECTION_PORT
public static final String MOVE_WARNING_PREFERENCE
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 ConfPlugin getDefault()
public void handleError(Throwable cause, String message, Object... args)
cause
- the exception causing the problem or null
,
if not applicablemessage
- an error message, optionally containing placeholders in the
MessageFormat
syntax ({0}, ...}args
- arguments to fill in the placeholders in the
message, see MessageFormat