/*******************************************************************************
* Copyright (c) 2010-2015 Henshin developers. All rights reserved.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* TU Berlin, University of Luxembourg, SES S.A.
*******************************************************************************/
package de.tub.tfs.henshin.tggeditor.commands.delete;
import org.eclipse.emf.henshin.model.Graph;
import org.eclipse.gef.commands.CompoundCommand;
import de.tub.tfs.muvitor.commands.SimpleDeleteEObjectCommand;
/**
*The class DeleteGraphCommand deletes a graph.
*/
public class DeleteGraphInstanceCommand extends CompoundCommand {
/**
* Instantiates a new delete graph command.
*
* @param graph the graph to be deleted
*/
public DeleteGraphInstanceCommand(Graph graph) {
add(new SimpleDeleteEObjectCommand(graph));
}
}