blob: 62950b17a6c14033eafa329b06755336c2aede9c [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2004 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
****************************************************************************/
package org.eclipse.gmf.runtime.diagram.core.internal.commands;
import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil;
import org.eclipse.gmf.runtime.emf.commands.core.command.AbstractModelCommand;
import org.eclipse.gmf.runtime.notation.View;
/**
* This is an abstract class that contains common behaviour for all
* the ZOrder Commands.
*
* @author jschofie
* @canBeSeenBy org.eclipse.gmf.runtime.diagram.core.*
*/
public abstract class ZOrderCommand extends AbstractModelCommand {
protected View toMove;
protected View containerView;
public ZOrderCommand( String label,View view ) {
super( label, view);
this.toMove = view;
containerView = ViewUtil.getContainerView(toMove);
}
}