public class NewServiceCutContextMapGenerator extends AbstractContextMapGenerator
contextMappingModel, resourceSet
Constructor and Description |
---|
NewServiceCutContextMapGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
checkPreconditions(ContextMappingModel model) |
protected void |
generateFromContextMap(ContextMap contextMap,
org.eclipse.xtext.generator.IFileSystemAccess2 fsa,
org.eclipse.emf.common.util.URI inputFileURI) |
NewServiceCutContextMapGenerator |
setSolverConfiguration(ch.hsr.servicecutter.solver.SolverConfiguration solverConfiguration)
Sets a custom
SolverConfiguration . |
NewServiceCutContextMapGenerator |
setUserRepresentationContainer(ch.hsr.servicecutter.api.model.UserRepresentationContainer userRepresentationContainer)
Sets the user representations for the Service Cutter solver.
|
doGenerate
public NewServiceCutContextMapGenerator setSolverConfiguration(ch.hsr.servicecutter.solver.SolverConfiguration solverConfiguration)
SolverConfiguration
. If not called, a default
configuration will be created.solverConfiguration
- the SolverConfiguration
to be used to
create the service cut.public NewServiceCutContextMapGenerator setUserRepresentationContainer(ch.hsr.servicecutter.api.model.UserRepresentationContainer userRepresentationContainer)
userRepresentationContainer
- the container with the user
representationsprotected void generateFromContextMap(ContextMap contextMap, org.eclipse.xtext.generator.IFileSystemAccess2 fsa, org.eclipse.emf.common.util.URI inputFileURI)
generateFromContextMap
in class AbstractContextMapGenerator
public void checkPreconditions(ContextMappingModel model)