| 1 | /* |
| 2 | * Copyright 2006 SDQ Research Group, University of Karlsruhe (TH) |
| 3 | */ |
| 4 | package de.uka.ipd.sdq.pcm.gmf.seff.edit.policies; |
| 5 | |
| 6 | import org.eclipse.gef.commands.Command; |
| 7 | import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; |
| 8 | |
| 9 | import de.uka.ipd.sdq.pcm.gmf.seff.edit.commands.VariableCharacterisation3CreateCommand; |
| 10 | import de.uka.ipd.sdq.pcm.gmf.seff.providers.PalladioComponentModelElementTypes; |
| 11 | |
| 12 | /** |
| 13 | * @generated |
| 14 | */ |
| 15 | public class VariableUsageVariableCharacterisation4ItemSemanticEditPolicy |
| 16 | extends PalladioComponentModelBaseItemSemanticEditPolicy { |
| 17 | |
| 18 | /** |
| 19 | * @generated |
| 20 | */ |
| 21 | public VariableUsageVariableCharacterisation4ItemSemanticEditPolicy() { |
| 22 | super(PalladioComponentModelElementTypes.VariableUsage_3047); |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * @generated |
| 27 | */ |
| 28 | protected Command getCreateCommand(CreateElementRequest req) { |
| 29 | if (PalladioComponentModelElementTypes.VariableCharacterisation_3037 == req |
| 30 | .getElementType()) { |
| 31 | return getGEFWrapper(new VariableCharacterisation3CreateCommand(req)); |
| 32 | } |
| 33 | return super.getCreateCommand(req); |
| 34 | } |
| 35 | |
| 36 | } |