/******************************************************************************* * Copyright (c) 2007, 2014 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 - Initial API and implementation *******************************************************************************/ package org.eclipse.ocl.examples.interpreter.actions; import org.eclipse.ocl.examples.interpreter.console.OCLConsole; import org.eclipse.ocl.examples.interpreter.console.TargetMetamodel; /** * Action delegate that ensures that the OCL Console is active and set to * target the UML metamodel. * * @deprecated Use ShowUMLConsoleHandler */ @Deprecated public class ShowUMLConsoleDelegate extends ShowConsoleDelegate { /** * Initializes me. */ public ShowUMLConsoleDelegate() { super(); } @Override protected void consoleOpened(OCLConsole console) { console.setTargetMetamodel(TargetMetamodel.UML); } }