com.joanju.cg.plugin
Class CgPlugin
java.lang.Object
AbstractUIPlugin
com.joanju.cg.plugin.CgPlugin
public class CgPlugin
- extends AbstractUIPlugin
The main plugin class to be used in the desktop.
Field Summary |
static java.lang.String |
ID
|
static java.lang.String |
TITLE
|
Constructor Summary |
CgPlugin()
This must never be instantiated by anything other than the Eclipse workbench. |
Method Summary |
static CgPlugin |
getDefault()
|
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.Throwable e)
Convenience method for writing an Exception to the Error Log |
void |
start(BundleContext context)
|
void |
stop(BundleContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
TITLE
public static final java.lang.String TITLE
- See Also:
- Constant Field Values
CgPlugin
public CgPlugin()
- This must never be instantiated by anything other than the Eclipse workbench.
That's because instantiation of this class is used as a flag to indicate that
Callgraph is running as an Eclipse plugin.
getDefault
public static CgPlugin getDefault()
getImageDescriptor
public static ImageDescriptor getImageDescriptor(java.lang.String path)
- Returns an image descriptor for the image file at the given
plug-in relative path.
- Parameters:
path
- the path
- Returns:
- the image descriptor
log
public static void log(java.lang.Throwable e)
- Convenience method for writing an Exception to the Error Log
start
public void start(BundleContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
public void stop(BundleContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2008 Joanju Software. All Rights Reserved.