| net.refractions.udig.project.internal.ProjectPlugin
ProjectPlugin | final public class ProjectPlugin extends EMFPlugin (Code) | | This is the central singleton for the Project model plugin.
|
Inner Class :public static class Implementation extends EclipsePlugin | |
Method Summary | |
public static Implementation | getPlugin() Returns the singleton instance of the Eclipse plugin. | public ResourceLocator | getPluginResourceLocator() Returns the singleton instance of the Eclipse plugin. | public static boolean | isDebugging(String trace) Performs the Platform.getDebugOption true check on the provided trace
Note: ProjectUIPlugin.getDefault().isDebugging() must also be on. | public static void | log(String message) Writes an info log in the plugin's log. | public static void | log(String message, Throwable e) Writes an info log in the plugin's log. | public static void | trace(String traceID, Class caller, String message, Throwable e) Messages that only engage if getDefault().isDebugging() and the trace option traceID is true.
Available trace options can be found in the Trace class. | public static void | trace(Class caller, String message, Throwable e) Adds the name of the caller class to the message. |
plugin | static Implementation plugin(Code) | | Keep track of the singleton.
|
ProjectPlugin | public ProjectPlugin()(Code) | | Create the instance.
|
getPlugin | public static Implementation getPlugin()(Code) | | Returns the singleton instance of the Eclipse plugin.
the singleton instance. |
getPluginResourceLocator | public ResourceLocator getPluginResourceLocator()(Code) | | Returns the singleton instance of the Eclipse plugin.
the singleton instance. |
isDebugging | public static boolean isDebugging(String trace)(Code) | | Performs the Platform.getDebugOption true check on the provided trace
Note: ProjectUIPlugin.getDefault().isDebugging() must also be on.
- Trace.RENDER - trace rendering progress
Parameters: trace - currently only RENDER is defined |
log | public static void log(String message)(Code) | | Writes an info log in the plugin's log.
Parameters: message - |
log | public static void log(String message, Throwable e)(Code) | | Writes an info log in the plugin's log.
This should be used for user level messages.
|
trace | public static void trace(String traceID, Class caller, String message, Throwable e)(Code) | | Messages that only engage if getDefault().isDebugging() and the trace option traceID is true.
Available trace options can be found in the Trace class. (They must also be part of the .options file)
|
trace | public static void trace(Class caller, String message, Throwable e)(Code) | | Adds the name of the caller class to the message.
Parameters: caller - class of the object doing the trace. Parameters: message - tracing message, may be null. Parameters: e - exception, may be null. |
|
|