|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractUIPlugin
net.refractions.udig.legend.LegendPlugin
public class LegendPlugin
The main plugin class to be used in the desktop.
Field Summary | |
---|---|
static java.lang.String |
ID
|
Constructor Summary | |
---|---|
LegendPlugin()
The constructor. |
Method Summary | |
---|---|
static LegendPlugin |
getDefault()
Returns the shared instance. |
static ImageDescriptor |
getImageDescriptor(java.lang.String path)
Returns an image descriptor for the image file at the given plug-in relative path. |
static void |
log(java.lang.String message,
java.lang.Throwable t)
Logs the Throwable in the plugin's log. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ID
Constructor Detail |
---|
public LegendPlugin()
Method Detail |
---|
public void start(BundleContext context) throws java.lang.Exception
java.lang.Exception
public void stop(BundleContext context) throws java.lang.Exception
java.lang.Exception
public static LegendPlugin getDefault()
public static ImageDescriptor getImageDescriptor(java.lang.String path)
path
- the path
public static void log(java.lang.String message, java.lang.Throwable t)
This will be a user visable ERROR iff:
message
- t
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |