Class ProblemDerivedStateComputer
java.lang.Object
tools.refinery.language.resource.state.ProblemDerivedStateComputer
- All Implemented Interfaces:
org.eclipse.xtext.resource.IDerivedStateComputer
public class ProblemDerivedStateComputer
extends Object
implements org.eclipse.xtext.resource.IDerivedStateComputer
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected NodecreateNode(String name) protected voiddiscardDerivedProblemState(Problem problem, ProblemDerivedStateComputer.Adapter adapter) voiddiscardDerivedState(org.eclipse.xtext.resource.DerivedStateAwareResource resource) protected ProblemDerivedStateComputer.AdaptergetOrInstallAdapter(org.eclipse.emf.ecore.resource.Resource resource) protected ProblemgetProblem(org.eclipse.emf.ecore.resource.Resource resource) protected voidinstallDerivedDeclarationState(Problem problem, ProblemDerivedStateComputer.Adapter adapter) protected voidinstallDerivedNodes(Problem problem) protected voidinstallDerivedProblemState(Problem problem, ProblemDerivedStateComputer.Adapter adapter, boolean preLinkingPhase) voidinstallDerivedState(org.eclipse.xtext.resource.DerivedStateAwareResource resource, boolean preLinkingPhase) protected voidinstallOrRemoveComputedValueFunction(ProblemDerivedStateComputer.Adapter adapter, FunctionDefinition functionDefinition) protected voidinstallOrRemoveComputedValuePredicate(ProblemDerivedStateComputer.Adapter adapter, PredicateDefinition predicateDefinition) protected voidinstallOrRemoveDomainPredicate(ProblemDerivedStateComputer.Adapter adapter, FunctionDefinition functionDefinition) protected voidinstallOrRemoveInvalidMultiplicityPredicate(ProblemDerivedStateComputer.Adapter adapter, ClassDeclaration containingClassDeclaration, ReferenceDeclaration declaration) protected voidinstallOrRemoveNewNode(ProblemDerivedStateComputer.Adapter adapter, ClassDeclaration declaration)
-
Field Details
-
NEW_NODE
- See Also:
-
COMPUTED_NAME
- See Also:
-
-
Constructor Details
-
ProblemDerivedStateComputer
public ProblemDerivedStateComputer()
-
-
Method Details
-
installDerivedState
public void installDerivedState(org.eclipse.xtext.resource.DerivedStateAwareResource resource, boolean preLinkingPhase) - Specified by:
installDerivedStatein interfaceorg.eclipse.xtext.resource.IDerivedStateComputer
-
getProblem
-
installDerivedProblemState
protected void installDerivedProblemState(Problem problem, ProblemDerivedStateComputer.Adapter adapter, boolean preLinkingPhase) -
installDerivedDeclarationState
protected void installDerivedDeclarationState(Problem problem, ProblemDerivedStateComputer.Adapter adapter) -
installOrRemoveNewNode
protected void installOrRemoveNewNode(ProblemDerivedStateComputer.Adapter adapter, ClassDeclaration declaration) -
installOrRemoveInvalidMultiplicityPredicate
protected void installOrRemoveInvalidMultiplicityPredicate(ProblemDerivedStateComputer.Adapter adapter, ClassDeclaration containingClassDeclaration, ReferenceDeclaration declaration) -
installOrRemoveComputedValuePredicate
protected void installOrRemoveComputedValuePredicate(ProblemDerivedStateComputer.Adapter adapter, PredicateDefinition predicateDefinition) -
installOrRemoveComputedValueFunction
protected void installOrRemoveComputedValueFunction(ProblemDerivedStateComputer.Adapter adapter, FunctionDefinition functionDefinition) -
installOrRemoveDomainPredicate
protected void installOrRemoveDomainPredicate(ProblemDerivedStateComputer.Adapter adapter, FunctionDefinition functionDefinition) -
installDerivedNodes
-
createNode
-
discardDerivedState
public void discardDerivedState(org.eclipse.xtext.resource.DerivedStateAwareResource resource) - Specified by:
discardDerivedStatein interfaceorg.eclipse.xtext.resource.IDerivedStateComputer
-
discardDerivedProblemState
protected void discardDerivedProblemState(Problem problem, ProblemDerivedStateComputer.Adapter adapter) -
getOrInstallAdapter
protected ProblemDerivedStateComputer.Adapter getOrInstallAdapter(org.eclipse.emf.ecore.resource.Resource resource)
-