blob: 12f47c4de4bc0ea9a402a1f3f82a0509de6bc0cd [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007, 2012 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 Ecore metamodel.
*
* @deprecated Use ShowEcoreConsoleHandler
*/
@Deprecated
public class ShowEcoreConsoleDelegate
extends ShowConsoleDelegate {
/**
* Initializes me.
*/
public ShowEcoreConsoleDelegate() {
super();
}
@Override
protected void consoleOpened(OCLConsole console) {
console.setTargetMetamodel(TargetMetamodel.Ecore);
}
}