/*
* Kouretes Statechart Editor-KSE developed
* by Angeliki Topalidou-Kyniazopoulou
* for Kouretes Team. Code developed by Nikolaos Spanoudakis, Alex Parashos,
* ibm, apache and eclipse is used.
*/
package statechart.diagram.edit.policies;
import org.eclipse.gef.commands.Command;
import org.eclipse.gmf.runtime.emf.type.core.commands.DestroyElementCommand;
import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest;
import statechart.diagram.providers.StateChartElementTypes;
/**
* @generated
*/
public class TransitionItemSemanticEditPolicy extends
StateChartBaseItemSemanticEditPolicy {
/**
* @generated
*/
public TransitionItemSemanticEditPolicy() {
super(StateChartElementTypes.Transition_4001);
}
/**
* @generated
*/
protected Command getDestroyElementCommand(DestroyElementRequest req) {
return getGEFWrapper(new DestroyElementCommand(req));
}
}