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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Node
createNode
(String name) protected void
discardDerivedProblemState
(Problem problem, ProblemDerivedStateComputer.Adapter adapter) void
discardDerivedState
(org.eclipse.xtext.resource.DerivedStateAwareResource resource) protected ProblemDerivedStateComputer.Adapter
getOrInstallAdapter
(org.eclipse.emf.ecore.resource.Resource resource) protected Problem
getProblem
(org.eclipse.emf.ecore.resource.Resource resource) protected void
installDerivedDeclarationState
(Problem problem, ProblemDerivedStateComputer.Adapter adapter) installDerivedNodes
(Problem problem) protected void
installDerivedProblemState
(Problem problem, ProblemDerivedStateComputer.Adapter adapter, boolean preLinkingPhase) void
installDerivedState
(org.eclipse.xtext.resource.DerivedStateAwareResource resource, boolean preLinkingPhase) protected void
installOrRemoveComputedValuePredicate
(ProblemDerivedStateComputer.Adapter adapter, PredicateDefinition predicateDefinition) protected void
installOrRemoveInvalidMultiplicityPredicate
(ProblemDerivedStateComputer.Adapter adapter, ClassDeclaration containingClassDeclaration, ReferenceDeclaration declaration) protected void
installOrRemoveNewNode
(ProblemDerivedStateComputer.Adapter adapter, ClassDeclaration declaration)
-
Field Details
-
NEW_NODE
- See Also:
-
-
Constructor Details
-
ProblemDerivedStateComputer
public ProblemDerivedStateComputer()
-
-
Method Details
-
installDerivedState
public void installDerivedState(org.eclipse.xtext.resource.DerivedStateAwareResource resource, boolean preLinkingPhase) - Specified by:
installDerivedState
in 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) -
installDerivedNodes
-
createNode
-
discardDerivedState
public void discardDerivedState(org.eclipse.xtext.resource.DerivedStateAwareResource resource) - Specified by:
discardDerivedState
in 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)
-