public class IlrStudioModelPlugin
extends ilog.rules.studio.shared.util.IlrAbstractPlugin
This class provides:
IlrRuleModel,
IlrResourceManager.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NATURE_ID
The identifier for the rule project nature (value
"ilog.rules.studio.model.ruleNature"). |
static java.lang.String |
PLUGIN_ID
The plug-in identifier of the Rule Designer core support (value
"ilog.rules.studio.model"). |
| Constructor and Description |
|---|
IlrStudioModelPlugin()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkToBeRebuild(org.eclipse.core.resources.IProject project) |
static IlrRuleProject |
createRuleProject(java.lang.String projectName)
Creates a working rule project.
|
static IlrStudioModelPlugin |
getPluginInstance()
Returns the singleton instance of this plugin.
|
static IlrResourceManager |
getResourceManager()
Returns the Resource Manager singleton instance.
|
IlrRuleEnginePolicy |
getRuleEnginePolicy()
Return the policy controlling the default build mode for rule projects
and other related configs.
|
static IlrRuleMetaModel |
getRuleMetaModel()
Returns the singleton instance of the rule meta model.
|
static IlrRuleModel |
getRuleModel()
Returns the singleton instance of the rule model.
|
static java.lang.String |
getSymbolicName()
Returns the symbolic name of this plugin (value
"ilog.rules.studio.model"). |
static org.eclipse.core.resources.IWorkspace |
getWorkspace()
Returns the workspace singleton instance.
|
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
getBundleLocalizationString, getDebugOption, getErrorString, getExceptionHandler, getFormattedErrorString, getFormattedString, getFormattedString, getFormattedString, getLogger, getMessages, getString, getString, getString, registerMessages, unregisterMessagesfind, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toStringpublic static final java.lang.String PLUGIN_ID
"ilog.rules.studio.model").public static final java.lang.String NATURE_ID
"ilog.rules.studio.model.ruleNature").public IlrStudioModelPlugin()
This class is a singleton. It is not supposed to be instantiated by the users.
public static IlrStudioModelPlugin getPluginInstance()
public static java.lang.String getSymbolicName()
"ilog.rules.studio.model").
public static IlrRuleModel getRuleModel()
public static IlrRuleMetaModel getRuleMetaModel()
public static IlrRuleProject createRuleProject(java.lang.String projectName) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionpublic static IlrResourceManager getResourceManager()
public static org.eclipse.core.resources.IWorkspace getWorkspace()
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.IlrAbstractPluginjava.lang.Exceptionpublic boolean checkToBeRebuild(org.eclipse.core.resources.IProject project)
public 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.IlrAbstractPluginjava.lang.Exceptionpublic IlrRuleEnginePolicy getRuleEnginePolicy()
© Copyright IBM Corp. 1987, 2017