]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.document.swt.core/plugin.xml
Merge "Property following functions value and possibleValue to ontology modules"
[simantics/platform.git] / bundles / org.simantics.document.swt.core / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
3 <plugin>
4
5    <extension point="org.simantics.scl.reflection.binding">
6       <namespace path="http://www.simantics.org/SWT-0.0/Functions">
7          <externalClass className="org.simantics.db.Resource"/>
8          <externalClass className="org.simantics.db.ReadGraph"/>
9          <externalClass className="org.simantics.db.WriteGraph"/>
10          <externalClass className="org.simantics.db.Issue"/>
11          <externalClass className="org.simantics.databoard.binding.Binding"/>
12          <externalClass className="org.simantics.db.layer0.variable.Variable"/>
13          <externalClass className="org.simantics.db.layer0.variable.ValueAccessor"/>
14          <externalClass className="org.simantics.db.layer0.variable.VariableMap"/>
15          <externalClass className="org.simantics.db.layer0.variable.VariableBean"/>
16          <class className="org.simantics.document.swt.core.scl.Functions"/>
17       </namespace>
18    </extension>
19    
20    <extension
21          point="org.eclipse.ui.contexts">
22       <context
23             description="Modelled SCL Code Editor"
24             id="org.simantics.document.swt.core.widget.SCLTextEditor"
25             name="In Modelled SCL Code Editor"
26             parentId="org.eclipse.ui.contexts.window">
27       </context>
28    </extension>
29    
30    <extension
31          point="org.eclipse.ui.handlers">
32      <handler
33             commandId="org.eclipse.ui.file.save"
34             class="org.simantics.document.swt.core.widget.SCLTextEditorSaveHandler">
35          <activeWhen>
36                   <with
37                         variable="activeContexts">
38                      <iterate
39                            ifEmpty="false"
40                            operator="or">
41                         <equals
42                               value="org.simantics.document.swt.core.widget.SCLTextEditor">
43                         </equals>
44                      </iterate>
45                   </with>
46          </activeWhen>
47       </handler>
48      <handler
49             commandId="org.eclipse.ui.edit.copy"
50             class="org.simantics.document.swt.core.widget.SCLTextEditorCopyHandler">
51          <activeWhen>
52                   <with
53                         variable="activeContexts">
54                      <iterate
55                            ifEmpty="false"
56                            operator="or">
57                         <equals
58                               value="org.simantics.document.swt.core.widget.SCLTextEditor">
59                         </equals>
60                      </iterate>
61                   </with>
62          </activeWhen>
63       </handler>
64    </extension>
65    
66 </plugin>
67