Class AbstractItemsSemanticSequencer
java.lang.Object
org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer
org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer
org.openhab.core.model.serializer.AbstractItemsSemanticSequencer
- All Implemented Interfaces:
org.eclipse.xtext.serializer.sequencer.ISemanticSequencer
- Direct Known Subclasses:
ItemsSemanticSequencer
public abstract class AbstractItemsSemanticSequencer
extends org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer
-
Field Summary
Fields inherited from class org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer
genericSequencer, genericSequencerProvider
Fields inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer
diagnosticProvider, errorAcceptor, feederProvider, masterSequencer, nodeProvider, sequenceAcceptor, transientValues
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sequence
(org.eclipse.xtext.serializer.ISerializationContext context, org.eclipse.emf.ecore.EObject semanticObject) protected void
sequence_ItemModel
(org.eclipse.xtext.serializer.ISerializationContext context, ItemModel semanticObject) Contexts: ItemModel returns ItemModel Constraint: items+=ModelItem*protected void
sequence_ModelBinding
(org.eclipse.xtext.serializer.ISerializationContext context, ModelBinding semanticObject) Contexts: ModelBinding returns ModelBinding Constraint: (type=ID configuration=STRING properties+=ModelProperty? properties+=ModelProperty*)protected void
sequence_ModelGroupItem
(org.eclipse.xtext.serializer.ISerializationContext context, ModelGroupItem semanticObject) Contexts: ModelGroupItem returns ModelGroupItem Constraint: ( (type=ModelItemType function=ModelGroupFunction?) | (type=ModelItemType function=ModelGroupFunction? (args+=ID | args+=STRING) args+=ID? (args+=STRING? args+=ID?)*) )?protected void
sequence_ModelGroupItem_ModelItem
(org.eclipse.xtext.serializer.ISerializationContext context, ModelGroupItem semanticObject) Contexts: ModelItem returns ModelGroupItem Constraint: ( ( (type=ModelItemType function=ModelGroupFunction?) | (type=ModelItemType function=ModelGroupFunction? (args+=ID | args+=STRING) args+=ID? (args+=STRING? args+=ID?)*) )? name=ID label=STRING? icon=Icon? (groups+=ID groups+=ID*)? ((tags+=ID | tags+=STRING) tags+=ID? (tags+=STRING? tags+=ID?)*)? (bindings+=ModelBinding bindings+=ModelBinding*)? )protected void
sequence_ModelItem_ModelNormalItem
(org.eclipse.xtext.serializer.ISerializationContext context, ModelNormalItem semanticObject) Contexts: ModelItem returns ModelNormalItem Constraint: ( type=ModelItemType name=ID label=STRING? icon=Icon? (groups+=ID groups+=ID*)? ((tags+=ID | tags+=STRING) tags+=ID? (tags+=STRING? tags+=ID?)*)? (bindings+=ModelBinding bindings+=ModelBinding*)? )protected void
sequence_ModelNormalItem
(org.eclipse.xtext.serializer.ISerializationContext context, ModelNormalItem semanticObject) Contexts: ModelNormalItem returns ModelNormalItem Constraint: type=ModelItemTypeprotected void
sequence_ModelProperty
(org.eclipse.xtext.serializer.ISerializationContext context, ModelProperty semanticObject) Contexts: ModelProperty returns ModelProperty Constraint: (key=ID value=ValueType)Methods inherited from class org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer
init
Methods inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer
createContext, createNodeProvider, createSequence, createSequence, createSequencerFeeder, createSequencerFeeder, createSequencerFeeder, createSequencerFeeder, init, setMasterSequencer
-
Constructor Details
-
AbstractItemsSemanticSequencer
public AbstractItemsSemanticSequencer()
-
-
Method Details
-
sequence
public void sequence(org.eclipse.xtext.serializer.ISerializationContext context, org.eclipse.emf.ecore.EObject semanticObject) - Overrides:
sequence
in classorg.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer
-
sequence_ItemModel
protected void sequence_ItemModel(org.eclipse.xtext.serializer.ISerializationContext context, ItemModel semanticObject) Contexts: ItemModel returns ItemModel Constraint: items+=ModelItem*
-
sequence_ModelBinding
protected void sequence_ModelBinding(org.eclipse.xtext.serializer.ISerializationContext context, ModelBinding semanticObject) Contexts: ModelBinding returns ModelBinding Constraint: (type=ID configuration=STRING properties+=ModelProperty? properties+=ModelProperty*)
-
sequence_ModelGroupItem
protected void sequence_ModelGroupItem(org.eclipse.xtext.serializer.ISerializationContext context, ModelGroupItem semanticObject) Contexts: ModelGroupItem returns ModelGroupItem Constraint: ( (type=ModelItemType function=ModelGroupFunction?) | (type=ModelItemType function=ModelGroupFunction? (args+=ID | args+=STRING) args+=ID? (args+=STRING? args+=ID?)*) )?
-
sequence_ModelGroupItem_ModelItem
protected void sequence_ModelGroupItem_ModelItem(org.eclipse.xtext.serializer.ISerializationContext context, ModelGroupItem semanticObject) Contexts: ModelItem returns ModelGroupItem Constraint: ( ( (type=ModelItemType function=ModelGroupFunction?) | (type=ModelItemType function=ModelGroupFunction? (args+=ID | args+=STRING) args+=ID? (args+=STRING? args+=ID?)*) )? name=ID label=STRING? icon=Icon? (groups+=ID groups+=ID*)? ((tags+=ID | tags+=STRING) tags+=ID? (tags+=STRING? tags+=ID?)*)? (bindings+=ModelBinding bindings+=ModelBinding*)? )
-
sequence_ModelItem_ModelNormalItem
protected void sequence_ModelItem_ModelNormalItem(org.eclipse.xtext.serializer.ISerializationContext context, ModelNormalItem semanticObject) Contexts: ModelItem returns ModelNormalItem Constraint: ( type=ModelItemType name=ID label=STRING? icon=Icon? (groups+=ID groups+=ID*)? ((tags+=ID | tags+=STRING) tags+=ID? (tags+=STRING? tags+=ID?)*)? (bindings+=ModelBinding bindings+=ModelBinding*)? )
-
sequence_ModelNormalItem
protected void sequence_ModelNormalItem(org.eclipse.xtext.serializer.ISerializationContext context, ModelNormalItem semanticObject) Contexts: ModelNormalItem returns ModelNormalItem Constraint: type=ModelItemType
-
sequence_ModelProperty
protected void sequence_ModelProperty(org.eclipse.xtext.serializer.ISerializationContext context, ModelProperty semanticObject) Contexts: ModelProperty returns ModelProperty Constraint: (key=ID value=ValueType)
-