de.cau.cs.kieler.synccharts.text.kits
Class KitsTransientValueService
java.lang.Object
org.eclipse.xtext.parsetree.reconstr.impl.AbstractTransientValueService
org.eclipse.xtext.parsetree.reconstr.impl.DefaultTransientValueService
de.cau.cs.kieler.synccharts.text.kits.KitsTransientValueService
- All Implemented Interfaces:
- org.eclipse.xtext.parsetree.reconstr.ITransientValueService
public class KitsTransientValueService
- extends org.eclipse.xtext.parsetree.reconstr.impl.DefaultTransientValueService
Custom ITransientValueService
contributing to Kits serialization.
Besides the usual references KitsValueSerializer
also delegates to this class.
- Rating

Methods inherited from class org.eclipse.xtext.parsetree.reconstr.impl.DefaultTransientValueService |
isContainerReferenceInSameResource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KitsTransientValueService
public KitsTransientValueService()
isCheckElementsIndividually
public boolean isCheckElementsIndividually(EObject owner,
EStructuralFeature feature)
- Decides whether each element of an owners feature needs to be checked. Here, I want this to
be false except while serializing annotations and the signals of the root region: The 'tick'
signal should not be serialized.
Serialization of entryActions,... especially for regions is NOT considered yet!!
- Specified by:
isCheckElementsIndividually
in interface org.eclipse.xtext.parsetree.reconstr.ITransientValueService
- Overrides:
isCheckElementsIndividually
in class org.eclipse.xtext.parsetree.reconstr.impl.AbstractTransientValueService
isTransient
public boolean isTransient(EObject owner,
EStructuralFeature feature,
int index)
- Decides whether an owner's feature (or one of its elements are not to be serialized).
- Specified by:
isTransient
in interface org.eclipse.xtext.parsetree.reconstr.ITransientValueService
- Overrides:
isTransient
in class org.eclipse.xtext.parsetree.reconstr.impl.DefaultTransientValueService