]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.document.ui/plugin.xml
Change universal type variables to existential in requested value types
[simantics/platform.git] / bundles / org.simantics.document.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>\r<!--
3     Copyright (c) 2012 Association for Decentralized Information Management in
4     Industry THTH ry.
5     All rights reserved. This program and the accompanying materials
6     are made available under the terms of the Eclipse Public License v1.0
7     which accompanies this distribution, and is available at
8     http://www.eclipse.org/legal/epl-v10.html
9    
10     Contributors:
11         VTT Technical Research Centre of Finland - initial API and implementation
12  -->
13
14 <plugin>
15
16    <extension
17          point="org.eclipse.ui.editors">
18       <editor
19             class="org.simantics.document.ui.DocumentEditor"
20             icon="icons/wiki_doc.png"
21             id="org.simantics.document.ui.editor"
22             matchingStrategy="org.simantics.ui.workbench.editor.input.ResourceEditorInputMatchingStrategy"
23             name="Documentation Editor">
24       </editor>
25       <editor
26             class="org.simantics.document.ui.CSSEditor"
27             icon="platform:/plugin/com.famfamfam.silk/icons/tag_red.png"
28             id="org.simantics.document.ui.csseditor"
29             matchingStrategy="org.simantics.ui.workbench.editor.input.ResourceEditorInputMatchingStrategy"
30             name="CSS Editor">
31       </editor>
32    </extension>
33
34    <extension point="org.eclipse.ui.views">
35       <view
36             category="org.simantics.diagram.views"
37             class="org.simantics.document.ui.DocumentView"
38             icon="icons/wiki_doc.png"
39             id="org.simantics.document.ui.documentation"
40             name="Documentation">
41          <description>
42             A view for editing documentation.
43          </description>
44       </view>
45    </extension>
46
47   <extension
48          point="org.simantics.ui.resourceEditorAdapter">
49       <group
50             id="org.simantics.documentEditor.group">
51       </group>
52       <!-- This extension contributes too common functionality that confuses users -->
53       <!--
54       <adapterClass
55             class="org.simantics.document.ui.OpenEntityDocumentAdapter"
56             groupId="org.simantics.documentEditor.group">
57       </adapterClass>
58       -->
59       <adapterClass
60             class="org.simantics.document.ui.OpenWikiDocumentAdapter"
61             groupId="org.simantics.documentEditor.group"
62             priority="9">
63       </adapterClass>
64       <adapterClass
65             class="org.simantics.document.ui.graphfile.ExternalEditorAdapter"
66             priority="1">
67       </adapterClass>
68       <adapterClass
69             class="org.simantics.document.ui.graphfile.UrlEditorAdapter"
70             priority="1">
71       </adapterClass>
72    </extension>
73
74    <extension point="org.simantics.scl.reflection.binding">
75       <namespace path="http://www.simantics.org/DocumentUI-0.0/Functions">
76          <externalClass className="org.simantics.db.Resource"/>
77          <externalClass className="org.simantics.db.layer0.variable.Variable"/>
78          <externalClass className="org.simantics.db.ReadGraph"/>
79          <class className="org.simantics.document.ui.function.All"/>
80       </namespace>
81    </extension>
82    
83 </plugin>