-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
52 lines (47 loc) · 2.02 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
Copyright (c) 2015-2016 Obeo, Inria
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:
- William Piers <[email protected]>
- Philippe Merle <[email protected]>
-->
<plugin>
<!-- Register the Service Catalog extension. -->
<extension point="org.occiware.clouddesigner.occi.occie">
<occie scheme="http://schemas.ogf.org/occi/catalog#" file="model/Service Catalog.occie"/>
</extension>
<!-- Define URI mapping. -->
<extension point="org.eclipse.emf.ecore.uri_mapping">
<mapping source="http://schemas.ogf.org/occi/catalog" target="platform:/plugin/org.occi.catalog/model/Service Catalog.occie"/>
</extension>
<!-- Register the parser for .Service Catalog files. -->
<extension point="org.eclipse.emf.ecore.extension_parser">
<parser type="Service Catalog" class="org.occiware.clouddesigner.occi.util.OCCIResourceFactoryImpl"/>
</extension>
<!-- Popup menu for converting to an OCCI Configuration file. -->
<extension point="org.eclipse.ui.popupMenus">
<objectContribution
id="org.occi.catalog.contribution"
nameFilter="*.Service Catalog"
objectClass="org.eclipse.core.resources.IFile">
<menu
id="org.occiware.clouddesigner.menu"
label="Cloud Designer"
path="additionsCloudDesigner">
<separator name="group"/>
</menu>
<action
class="org.occiware.clouddesigner.occi.emfgen.ui.popup.actions.Ecore2OCCIAction"
enablesFor="1"
id="org.occi.catalog.ecore2occi"
label="Convert to an OCCI Configuration File"
menubarPath="org.occiware.clouddesigner.menu/group">
</action>
</objectContribution>
</extension>
</plugin>