blob: af4a0682b89e6326d54f4dfc548e655ada80ae8e [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016 KPIT Technologies.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Jan Mauersberger- initial API and implementation
* Sascha Baumgart- initial API and implementation
*******************************************************************************/
/*
*
*/
package org.eclipse.opencert.vocabulary.diagram.edit.policies;
import org.eclipse.gef.commands.Command;
import org.eclipse.gmf.runtime.emf.type.core.commands.DestroyReferenceCommand;
import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyReferenceRequest;
import org.eclipse.opencert.vocabulary.diagram.providers.VocabularyElementTypes;
/**
* @generated
*/
public class TermRefersToItemSemanticEditPolicy extends
VocabularyBaseItemSemanticEditPolicy {
/**
* @generated
*/
public TermRefersToItemSemanticEditPolicy() {
super(VocabularyElementTypes.TermRefersTo_4006);
}
/**
* @generated
*/
protected Command getDestroyReferenceCommand(DestroyReferenceRequest req) {
return getGEFWrapper(new DestroyReferenceCommand(req));
}
}