public class IlrStudioBRLPlugin
extends ilog.rules.studio.shared.util.IlrAbstractUIPlugin
implements ilog.rules.studio.model.vocabulary.IlrVocabularyUsageProvider, ilog.rules.studio.model.builder.IlrRuleBuilderListener
IlrStudioBRLPlugin.getDefault() static method.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PLUGIN_ID
The plug-in identifier of the business rule language Rule Designer supports (value
"ilog.rules.studio.model.brl"). |
| Modifier and Type | Method and Description |
|---|---|
static IlrBRLRule |
getBRLRule(org.eclipse.core.resources.IFile file)
This helper methods returns a BRL Rule object from the given file, if the file represents a Business Rule.
|
static IlrBRLService |
getBRLService(IlrRuleProject ruleProject)
This helper method returns the BRLService associated to the given rule project.
|
static IlrBRLService |
getBRLService(org.eclipse.core.resources.IProject project)
This helper method return the BRLService associated to the given Eclipse project, provided that it corresponds
to a valid Rule Project.
|
static IlrStudioBRLPlugin |
getDefault()
Returns the shared instance of StudioBRLPlugin.
|
static java.lang.String |
getLanguage(org.eclipse.emf.ecore.EClass ruleClass)
This method returns the BRL language associated to the given rule class.
|
IlrBRLDefinition |
getLanguageDefinition(java.lang.String definitionName,
java.util.Locale locale)
This method returns the language definition identified by the given definition name, for the given Locale.
|
static java.lang.String |
getPluginId()
This method returns the symbolic name of this plugin
|
static org.eclipse.core.resources.IWorkspace |
getWorkspace()
Returns the workspace instance.
|
getActivePage, getActiveWorkbenchShell, getActiveWorkbenchWindow, getBundleLocalizationString, getDebugOption, getErrorString, getExceptionHandler, getFormattedErrorString, getFormattedString, getFormattedString, getFormattedString, getLogger, getMessages, getString, getString, printToMessageConsole, registerMessages, start, stop, 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.brl").public static IlrStudioBRLPlugin getDefault()
public static IlrBRLRule getBRLRule(org.eclipse.core.resources.IFile file)
file - The Eclipse resource file.public IlrBRLDefinition getLanguageDefinition(java.lang.String definitionName, java.util.Locale locale)
definitionName - The name of the BRL language.locale - The locale.public static java.lang.String getLanguage(org.eclipse.emf.ecore.EClass ruleClass)
ruleClass - The rule class.public static org.eclipse.core.resources.IWorkspace getWorkspace()
public static java.lang.String getPluginId()
public static IlrBRLService getBRLService(IlrRuleProject ruleProject)
ruleProject - The rule project for which the BRL service is requested.public static IlrBRLService getBRLService(org.eclipse.core.resources.IProject project)
project - The Eclipse project for which the BRL service is requested.© Copyright IBM Corp. 1987, 2017