| 1 | /* |
| 2 | * Copyright 2007, IPD, SDQ, University of Karlsruhe |
| 3 | */ |
| 4 | package de.uka.ipd.sdq.pcm.gmf.repository.edit.policies; |
| 5 | |
| 6 | import org.eclipse.gef.commands.Command; |
| 7 | import org.eclipse.gmf.runtime.emf.type.core.commands.DestroyElementCommand; |
| 8 | import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest; |
| 9 | |
| 10 | import de.uka.ipd.sdq.pcm.gmf.repository.providers.PalladioComponentModelElementTypes; |
| 11 | |
| 12 | /** |
| 13 | * @generated |
| 14 | */ |
| 15 | public class SinkRoleItemSemanticEditPolicy extends |
| 16 | PalladioComponentModelBaseItemSemanticEditPolicy { |
| 17 | |
| 18 | /** |
| 19 | * @generated |
| 20 | */ |
| 21 | public SinkRoleItemSemanticEditPolicy() { |
| 22 | super(PalladioComponentModelElementTypes.SinkRole_4109); |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * @generated |
| 27 | */ |
| 28 | protected Command getDestroyElementCommand(DestroyElementRequest req) { |
| 29 | return getGEFWrapper(new DestroyElementCommand(req)); |
| 30 | } |
| 31 | |
| 32 | } |