public class Activator
extends AbstractUIPlugin
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PLUGIN_ID |
| Constructor and Description |
|---|
Activator()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Activator |
getDefault()
Returns the shared instance.
|
static java.lang.String |
getId() |
static ImageDescriptor |
getImageDescriptor(java.lang.String path)
Returns an image descriptor for the image file at the given
plug-in relative path.
|
static void |
logError(int code,
java.lang.String msg,
java.lang.Throwable ex) |
void |
notifyError(java.lang.String message,
java.lang.Throwable error)
Notify error using message box (thread safe).
|
void |
start(BundleContext context)
This method is called upon plug-in activation
|
void |
stop(BundleContext context)
This method is called when the plug-in is stopped
|
public static final java.lang.String PLUGIN_ID
public void start(BundleContext context)
throws java.lang.Exception
java.lang.Exceptionpublic void stop(BundleContext context)
throws java.lang.Exception
java.lang.Exceptionpublic static Activator getDefault()
public static ImageDescriptor getImageDescriptor(java.lang.String path)
path - the pathpublic static java.lang.String getId()
public static void logError(int code,
java.lang.String msg,
java.lang.Throwable ex)
public void notifyError(java.lang.String message,
java.lang.Throwable error)
message - The message to displayerror - The error that occurred
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0