01: package newprocess.diagram.edit.policies;
02:
03: import newprocess.diagram.cust.operation.ChainDeleteOperation;
04:
05: import org.eclipse.gef.commands.Command;
06: import org.eclipse.gmf.runtime.emf.type.core.commands.DestroyReferenceCommand;
07: import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyReferenceRequest;
08:
09: /**
10: * @generated
11: */
12: public class RootTermItemSemanticEditPolicy extends
13: New_processBaseItemSemanticEditPolicy {
14:
15: /**
16: * @generated NOT
17: * @author sh
18: */
19: protected Command getDestroyReferenceCommand(
20: DestroyReferenceRequest req) {
21: return getMSLWrapper(new ChainDeleteOperation(req, getHost()));
22: }
23: }
|