| <?xml version="1.0" encoding="UTF-8"?> |
| <?eclipse version="3.4"?> |
| <!-- |
| Copyright (c) 2018 Agence spatiale canadienne / Canadian Space Agency. |
| 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: |
| Pierre Allard - initial API and implementation |
| Regent L'Archeveque, |
| Sebastien Gemme |
| |
| SPDX-License-Identifier: EPL-1.0 |
| --> |
| |
| <plugin> |
| <extension |
| point="org.eclipse.apogy.common.topology.ui.graphicsContextAdapter"> |
| <Class |
| Class="org.eclipse.apogy.common.geometry.data3d.pif.ui.adapters.GraphicsContextPifAdapter"> |
| </Class> |
| </extension> |
| |
| <extension |
| point="org.eclipse.ui.commands"> |
| <command |
| defaultHandler="org.eclipse.apogy.common.geometry.data3d.pif.ui.handlers.PIFToXYZExportCommandHandler" |
| id="org.eclipse.apogy.common.geometry.data3d.pif.ui.commands.PIFToXYZExportCommand" |
| name="Export PIF To XYZ"> |
| </command> |
| </extension> |
| |
| <extension |
| point="org.eclipse.ui.menus"> |
| <menuContribution |
| allPopups="true" |
| locationURI="popup:org.eclipse.apogy.core.ui.menu?after=additions"> |
| <command |
| commandId="org.eclipse.apogy.common.geometry.data3d.pif.ui.commands.PIFToXYZExportCommand" |
| label="Export PIF To XYZ" |
| style="push"> |
| <visibleWhen |
| checkEnabled="false"> |
| <with |
| variable="activeMenuSelection"> |
| <iterate |
| ifEmpty="false" |
| operator="or"> |
| <instanceof |
| value="org.eclipse.core.resources.IFile"> |
| </instanceof> |
| </iterate> |
| </with> |
| </visibleWhen> |
| </command> |
| </menuContribution> |
| </extension> |
| |
| </plugin> |