public class IlrStudioDTPlugin
extends ilog.rules.studio.shared.util.IlrAbstractUIPlugin
implements ilog.rules.studio.model.builder.IlrRuleBuilderListener
DT regroups all functionalities
related to the editing and the management of decision table and decision tree rules in Rule Designer.
This plugin class provides utility methods that lets you manipulate DT rules in Rule Designer.
You can retrieve the only instance of this plugin by calling the IlrStudioDTPlugin.getDefault() static method.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEBUG_DT
Debug option for the DT plugin: report performance indicator for DT loading, code generation, and so on.
|
static java.lang.String |
PLUGIN_ID
The plug-in identifier of the DT rule support plugin (value
"ilog.rules.studio.model.dt"). |
| Modifier and Type | Method and Description |
|---|---|
boolean |
debugMode() |
boolean |
getDebugOption(java.lang.String option)
Indicates whether the debug mode is active for this plugin for the given option.
|
static IlrStudioDTPlugin |
getDefault()
Returns the shared instance of
StudioDTPlugin. |
static IlrDTService |
getDTService(IlrRuleProject ruleProject)
Returns the DT Rule Project service associated with the given rule project.
|
static IlrDTService |
getDTService(org.eclipse.core.resources.IProject project)
Returns the DT Rule Project service associated with the given project.
|
static java.lang.String |
getPluginId() |
static org.eclipse.core.resources.IWorkspace |
getWorkspace()
Returns the workspace instance.
|
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
getActivePage, getActiveWorkbenchShell, getActiveWorkbenchWindow, getBundleLocalizationString, getErrorString, getExceptionHandler, getFormattedErrorString, getFormattedString, getFormattedString, getFormattedString, getLogger, getMessages, getString, getString, printToMessageConsole, registerMessages, unregisterMessagescreateImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startuppublic static final java.lang.String PLUGIN_ID
"ilog.rules.studio.model.dt").public static final java.lang.String DEBUG_DT
public static IlrStudioDTPlugin getDefault()
StudioDTPlugin.
public void start(org.osgi.framework.BundleContext context)
throws java.lang.Exception
start in interface org.osgi.framework.BundleActivatorstart in class ilog.rules.studio.shared.util.IlrAbstractUIPluginjava.lang.Exceptionpublic void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
stop in interface org.osgi.framework.BundleActivatorstop in class ilog.rules.studio.shared.util.IlrAbstractUIPluginjava.lang.Exceptionpublic static IlrDTService getDTService(IlrRuleProject ruleProject)
ruleProject - The rule project.public static IlrDTService getDTService(org.eclipse.core.resources.IProject project)
project - The rule project.public static org.eclipse.core.resources.IWorkspace getWorkspace()
public static java.lang.String getPluginId()
public boolean getDebugOption(java.lang.String option)
getDebugOption in class ilog.rules.studio.shared.util.IlrAbstractUIPluginoption - One of the debug options for this plugin (see DEBUG_DT).public boolean debugMode()
© Copyright IBM Corp. 1987, 2017