Interface IBslOwnerComputer
-
- All Known Implementing Classes:
AbstractBslOwnerComputer
public interface IBslOwnerComputer
Interface for extension points for computing information about Bsl module by its owner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Defines
computeDefines(ModuleType type, org.eclipse.emf.ecore.EClass ownerEClass)
ComputesDefines
by module type and module ownerEnvironments
computeEnvironments(ModuleType type, org.eclipse.emf.ecore.EClass owner)
ComputesEnvironments
by module type and module ownerorg.eclipse.emf.ecore.EClass
getCommandByEClass(org.eclipse.emf.ecore.EClass eClass)
Gets correspondingEClass
for command by owner EClassorg.eclipse.emf.ecore.EClass
getEClassByFirstSegmentModuleName(String segment)
Gets correspondingEClass
by the first part of module namevoid
initialize(String segment, String eClassName, String commandEClassName)
Add special bound between the first part of module name, EClass of module owner and its command EClassboolean
isCommandEClass(org.eclipse.emf.ecore.EClass eClass)
Checks EClass that is commandEClass
boolean
isContainsEClass(org.eclipse.emf.ecore.EClass eClass)
Checks that this extension point has information about theEClass
-
-
-
Method Detail
-
initialize
void initialize(String segment, String eClassName, String commandEClassName)
Add special bound between the first part of module name, EClass of module owner and its command EClass- Parameters:
segment
- the first part of module nameeClassName
- corresponding ownerEClass
by the first module namecommandEClassName
- corresponding commandEClass
by the module owner EClass
-
getEClassByFirstSegmentModuleName
org.eclipse.emf.ecore.EClass getEClassByFirstSegmentModuleName(String segment)
Gets correspondingEClass
by the first part of module name- Parameters:
segment
- the first part of module name- Returns:
- corresponding
EClass
ornull
-
isContainsEClass
boolean isContainsEClass(org.eclipse.emf.ecore.EClass eClass)
Checks that this extension point has information about theEClass
- Parameters:
eClass
- checkingEClass
- Returns:
true
if this extension point has information about gotEClass
-
getCommandByEClass
org.eclipse.emf.ecore.EClass getCommandByEClass(org.eclipse.emf.ecore.EClass eClass)
Gets correspondingEClass
for command by owner EClass- Parameters:
eClass
- ownerEClass
- Returns:
- command
EClass
ornull
-
isCommandEClass
boolean isCommandEClass(org.eclipse.emf.ecore.EClass eClass)
Checks EClass that is commandEClass
- Parameters:
eClass
- checkingEClass
- Returns:
true
if it's command EClass
-
computeEnvironments
Environments computeEnvironments(ModuleType type, org.eclipse.emf.ecore.EClass owner)
ComputesEnvironments
by module type and module owner- Parameters:
type
- module typeowner
- module owner- Returns:
Environments
of module ornull
-
computeDefines
Defines computeDefines(ModuleType type, org.eclipse.emf.ecore.EClass ownerEClass)
ComputesDefines
by module type and module owner- Parameters:
type
- module typeowner
- module owner- Returns:
Defines
of module ornull
-
-