com.unitesk.requality.eclipse
Class Activator
java.lang.Object
AbstractUIPlugin
com.unitesk.requality.eclipse.Activator
public class Activator
- extends AbstractUIPlugin
The activator class controls the plug-in life cycle
Constructor Summary |
Activator()
The constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PLUGIN_ID
public static final java.lang.String PLUGIN_ID
- See Also:
- Constant Field Values
tracker
public static TreesTracker tracker
EXTENSION_NAME_DOC_PROCESSOR
public static final java.lang.String EXTENSION_NAME_DOC_PROCESSOR
- See Also:
- Constant Field Values
EXTENSION_NAME_REPORT
public static final java.lang.String EXTENSION_NAME_REPORT
- See Also:
- Constant Field Values
EXTENSION_NAME_NODE_TYPES
public static final java.lang.String EXTENSION_NAME_NODE_TYPES
- See Also:
- Constant Field Values
Activator
public Activator()
- The constructor
getProcessors
public java.util.SortedSet<DocumentProcessorDescriptor> getProcessors()
getReportTemplates
public java.util.Map<java.lang.String,Template> getReportTemplates()
loadDocumentProcessorDescriptors
public void loadDocumentProcessorDescriptors()
start
public void start(BundleContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
getJSToolsPath
public java.lang.String getJSToolsPath()
stop
public void stop(BundleContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDefault
public static Activator getDefault()
- Returns the shared instance
- Returns:
- the shared instance
createImageRegistry
protected ImageRegistry createImageRegistry()
getPath
public static java.lang.String getPath(java.lang.String string)
throws java.io.IOException
- Throws:
java.io.IOException
getImageDescriptor
public static ImageDescriptor getImageDescriptor(java.lang.String pluginId,
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
getImageDescriptor
public static ImageDescriptor getImageDescriptor(java.lang.String path)
addChangeListener
public boolean addChangeListener(IUIStateChangeListener listener)
removeChangeListener
public boolean removeChangeListener(IUIStateChangeListener listener)
setActiveNode
public void setActiveNode(TreeNode node,
java.lang.String type)
getActiveNode
public TreeNode getActiveNode(java.lang.String string)