| <?xml version="1.0" encoding="UTF-8"?> |
| <?eclipse version="3.4"?> |
| <!-- |
| Copyright (c) 2006, 2015 THALES GLOBAL SERVICES. |
| 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: |
| Thales - initial API and implementation |
| --> |
| <plugin> |
| <extension-point id="FocusInEditor" name="FocusInEditor" schema="schema/FocusInEditor.exsd"/> |
| |
| <extension |
| point="org.eclipse.ui.views"> |
| <category |
| id="org.eclipse.amalgam.view.category" |
| name="Amalgam"> |
| </category> |
| <view |
| allowMultiple="false" |
| category="org.eclipse.amalgam.view.category" |
| class="org.eclipse.amalgam.explorer.contextual.view.AmalgamExplorerContextualView" |
| icon="platform:/plugin/org.eclipse.amalgam.explorer.contextual.core.ui/icons/ctxexplorer_16x16.png" |
| id="org.eclipse.amalgam.explorer.contextual.ui.view.ExplorerContextualID" |
| name="%explorerContextualView_name"> |
| </view> |
| </extension> |
| <extension |
| point="org.eclipse.ui.commands"> |
| <command |
| defaultHandler="org.eclipse.amalgam.explorer.contextual.view.handlers.SelectInCurrentEditorHandler" |
| id="org.eclipse.amalgam.explorer.contextual.command.SelectInCurrentEditorHandler" |
| name="%selectInCurrentEditor_name"> |
| </command> |
| </extension> |
| <extension |
| point="org.eclipse.ui.menus"> |
| <menuContribution |
| allPopups="false" |
| locationURI="popup:org.eclipse.amalgam.explorer.contextual.ui.view.ExplorerContextualID?after=additions"> |
| <command |
| commandId="org.eclipse.amalgam.explorer.contextual.command.SelectInCurrentEditorHandler" |
| icon="icons/focusIneditor.png" |
| style="push"> |
| <visibleWhen |
| checkEnabled="false"> |
| <with |
| variable="org.eclipse.amalgam.explorer.contextual.command.SelectInCurrentEditorHandler.active"> |
| <equals |
| value="ENABLED"> |
| </equals> |
| </with> |
| </visibleWhen> |
| </command> |
| </menuContribution> |
| </extension> |
| <extension |
| point="org.eclipse.ui.services"> |
| <sourceProvider |
| provider="org.eclipse.amalgam.explorer.contextual.view.focus.FocusableElementSourceProvider"> |
| <variable |
| name="org.eclipse.amalgam.explorer.contextual.command.SelectInCurrentEditorHandler.active" |
| priorityLevel="workbench"> |
| </variable> |
| </sourceProvider> |
| </extension> |
| </plugin> |