| <?xml version="1.0" encoding="UTF-8"?> |
| <?eclipse version="3.0"?> |
| <!-- |
| /******************************************************************************* |
| * Copyright (c) 2010, 2011 IBM Corporation and others. |
| * 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 |
| * http://www.eclipse.org/legal/epl-v20.html |
| * |
| * Contributors: |
| * IBM - Initial API and implementation |
| * Kenn Hussey - 332962 |
| *******************************************************************************/ |
| --> |
| <plugin> |
| <extension point="org.eclipse.ui.commands"> |
| <command id="org.eclipse.ocl.examples.xtext.console.ShowEcoreConsoleAction" |
| description="%_UI_ShowOCLConsole_tooltip" |
| name="%_UI_ShowOCLConsole_label"/> |
| </extension> |
| |
| <extension point="org.eclipse.ui.handlers"> |
| <handler commandId="org.eclipse.ocl.examples.xtext.console.ShowEcoreConsoleAction" |
| class="org.eclipse.ocl.examples.xtext.console.actions.ShowConsoleHandler"/> |
| </extension> |
| |
| <extension point="org.eclipse.ui.menus"> |
| <menuContribution locationURI="popup:org.eclipse.ocl.examples.ui.Menu?after=show"> |
| <command commandId="org.eclipse.ocl.examples.xtext.console.ShowEcoreConsoleAction" |
| icon="icons/elcl16/oclconsole_co.gif" |
| tooltip="%_UI_ShowOCLConsole_tooltip"/> |
| </menuContribution> |
| </extension> |
| |
| <extension point="org.eclipse.ui.console.consoleFactories"> |
| <consoleFactory |
| label="%_UI_ConsoleFactory_label" |
| class="org.eclipse.ocl.examples.xtext.console.OCLConsoleFactory" |
| icon="$nl$/icons/elcl16/oclconsole_co.gif"> |
| </consoleFactory> |
| </extension> |
| |
| <!--extension point = "org.eclipse.emf.edit.ui.queryDelegateTextViewerFactories"> |
| <factory |
| uri = "http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot" |
| class = "org.eclipse.ocl.examples.xtext.console.delegate.OCLQueryDelegateTextViewerFactory" /> |
| </extension--> |
| |
| <extension point="org.eclipse.ui.contexts"> |
| <context |
| id="org.eclipse.ocl.examples.xtext.console.xtext.embededxtextEditor.context" |
| name="Embedded Essential OCL Xtext Editor" |
| parentId="org.eclipse.ui.contexts.window"> |
| </context> |
| </extension> |
| </plugin> |