Package com._1c.g5.v8.dt.bsl.contextdef
Class AbstractBslModuleContextDefExtension
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.contextdef.AbstractBslModuleContextDefExtension
-
- All Implemented Interfaces:
IBslModuleContextDefExtension
public abstract class AbstractBslModuleContextDefExtension extends Object implements IBslModuleContextDefExtension
Abstract realization ofIBslModuleContextDefExtension
Contains method for checking owner of Bsl module fornull
or proxy
-
-
Field Summary
Fields Modifier and Type Field Description protected static ContextDef
EMPTY_CONTEXT_DEF
-
Constructor Summary
Constructors Constructor Description AbstractBslModuleContextDefExtension()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ContextDef
getContextDef(Module module)
GetsContextDef
of Bsl moduleprotected ContextDef
getContextDefOfType(Type type)
ContextDef fromType
List<Event>
getModuleEvents(Module module)
Gets collection of possibleEvent
from Bsl moduleprotected abstract Type
getModuleProducedType(Module module)
Gets module producedType
boolean
isAppropriateFor(Module module)
Checks if this implementation is appropriate for given moduleprotected org.eclipse.emf.ecore.EObject
resolveOwner(Module module)
Gets resolving module owner
-
-
-
Field Detail
-
EMPTY_CONTEXT_DEF
protected static final ContextDef EMPTY_CONTEXT_DEF
-
-
Method Detail
-
isAppropriateFor
public boolean isAppropriateFor(Module module)
Description copied from interface:IBslModuleContextDefExtension
Checks if this implementation is appropriate for given module- Specified by:
isAppropriateFor
in interfaceIBslModuleContextDefExtension
- Parameters:
module
- checking module- Returns:
true
if this extension point allowed for this module
-
getContextDef
public ContextDef getContextDef(Module module)
Description copied from interface:IBslModuleContextDefExtension
GetsContextDef
of Bsl module- Specified by:
getContextDef
in interfaceIBslModuleContextDefExtension
- Parameters:
module
- BlsModule
- Returns:
ContextDef
of module
-
getModuleEvents
public List<Event> getModuleEvents(Module module)
Description copied from interface:IBslModuleContextDefExtension
Gets collection of possibleEvent
from Bsl module- Specified by:
getModuleEvents
in interfaceIBslModuleContextDefExtension
- Parameters:
module
- BlsModule
- Returns:
- list of
Event
of module
-
getModuleProducedType
protected abstract Type getModuleProducedType(Module module)
Gets module producedType
-
getContextDefOfType
protected ContextDef getContextDefOfType(Type type)
ContextDef fromType
- Parameters:
type
-- Returns:
- ContextDef from
Type
or emptyContextDef
-
-