Class StackItemProviderAdapterFactory.ViewChildCreationExtender.CreationSwitch
- java.lang.Object
-
- org.eclipse.emf.ecore.util.Switch<T>
-
- org.eclipse.emf.ecp.view.spi.model.util.ViewSwitch<java.lang.Object>
-
- org.eclipse.emf.ecp.view.spi.stack.model.provider.StackItemProviderAdapterFactory.ViewChildCreationExtender.CreationSwitch
-
- Enclosing class:
- StackItemProviderAdapterFactory.ViewChildCreationExtender
protected static class StackItemProviderAdapterFactory.ViewChildCreationExtender.CreationSwitch extends ViewSwitch<java.lang.Object>
The switch for creating child descriptors specific to each extended class.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.emf.edit.domain.EditingDomain
editingDomain
The domain in which to create the children.protected java.util.List<java.lang.Object>
newChildDescriptors
The child descriptors being populated.-
Fields inherited from class org.eclipse.emf.ecp.view.spi.model.util.ViewSwitch
modelPackage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
caseContainer(VContainer object)
java.lang.Object
caseView(VView object)
protected org.eclipse.emf.edit.command.CommandParameter
createChildParameter(java.lang.Object feature, java.lang.Object child)
-
Methods inherited from class org.eclipse.emf.ecp.view.spi.model.util.ViewSwitch
caseAttachment, caseContainedContainer, caseContainedElement, caseControl, caseDateTimeDisplayAttachment, caseDiagnostic, caseDomainModelReference, caseDomainModelReferenceSegment, caseElement, caseFeatureDomainModelReferenceSegment, caseFeaturePathDomainModelReference, caseHasTooltip, caseStringToObjectMapEntry, caseViewModelLoadingProperties, caseViewModelProperties, defaultCase, doSwitch, isSwitchFor
-
-
-
-
Method Detail
-
caseView
public java.lang.Object caseView(VView object)
- Overrides:
caseView
in classViewSwitch<java.lang.Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of ' View'.
- See Also:
doSwitch(EObject)
-
caseContainer
public java.lang.Object caseContainer(VContainer object)
- Overrides:
caseContainer
in classViewSwitch<java.lang.Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Container'.
- See Also:
doSwitch(EObject)
-
createChildParameter
protected org.eclipse.emf.edit.command.CommandParameter createChildParameter(java.lang.Object feature, java.lang.Object child)
-
-