]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.annotation.ui/plugin.xml
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.annotation.ui / plugin.xml
index 7fe54d09b368ee33d0d4f59bfa1ccb7001c4abb0..e56221661acaa2dc4f137619423540c358dbfe4e 100644 (file)
-<?xml version="1.0" encoding="UTF-8"?>\r
-<?eclipse version="3.4"?>\r<!--\r
-    Copyright (c) 2012 Association for Decentralized Information Management in\r
-    Industry THTH ry.\r
-    All rights reserved. This program and the accompanying materials\r
-    are made available under the terms of the Eclipse Public License v1.0\r
-    which accompanies this distribution, and is available at\r
-    http://www.eclipse.org/legal/epl-v10.html\r
-   \r
-    Contributors:\r
-        VTT Technical Research Centre of Finland - initial API and implementation\r
- -->\r
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>\r<!--
+    Copyright (c) 2012 Association for Decentralized Information Management in
+    Industry THTH ry.
+    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:
+        VTT Technical Research Centre of Finland - initial API and implementation
+ -->
 
-<plugin>\r
-   <extension\r
-         point="org.eclipse.ui.editors">\r
-      <editor\r
-            class="org.simantics.modeling.ui.componentTypeEditor.ComponentTypeEditor:formTitle=Annotation Type"\r
-            default="false"\r
-            id="org.simantics.annotation.ui.annotationTypeEditor"\r
-            matchingStrategy="org.simantics.ui.workbench.editor.input.ResourceEditorInputMatchingStrategy"\r
-            name="Annotation Type Editor">\r
-      </editor>\r
-   </extension>\r
-   <extension\r
-         point="org.simantics.ui.resourceEditorAdapter">\r
-      <adapter\r
-            editorId="org.simantics.annotation.ui.annotationTypeEditor"\r
-            label="Annotation Type Editor"\r
-            priority="10"\r
-            type_uris="http://www.simantics.org/Annotation-0.0/AnnotationType">\r
-      </adapter>\r
-   </extension>\r
-   <extension\r
-         point="org.eclipse.ui.handlers">\r
-      <handler\r
-            class="org.simantics.annotation.ui.diagram.handlers.NewAnnotation"\r
-            commandId="org.simantics.annotation.ui.newAnnotation">\r
-         <enabledWhen>\r
-            <with\r
-                  variable="selection">\r
-               <iterate\r
-                     ifEmpty="false"\r
-                     operator="and">\r
-                  <and>\r
-                     <test\r
-                           args="http://www.simantics.org/Diagram-0.0/Flag"\r
-                           property="org.simantics.graph.resourceType">\r
-                     </test>\r
-                     <test\r
-                           property="org.simantics.diagram.flag.locallyConnected"\r
-                           value="false">\r
-                     </test>\r
-                  </and>\r
-               </iterate>\r
-            </with>\r
-         </enabledWhen>\r
-      </handler>\r
-  </extension>\r
-   <extension\r
-         point="org.eclipse.ui.commands">\r
-      <command\r
-            categoryId="org.simantics.modeling.ui.category"\r
-            id="org.simantics.annotation.ui.newAnnotation"\r
-            name="New Annotation">\r
-      </command>\r
-  </extension>\r
-\r
-   <extension point="org.simantics.scl.reflection.binding">\r
-      <namespace path="http://www.simantics.org/Annotation-0.0/Functions">\r
-         <externalClass className="org.simantics.db.Resource"/>\r
-         <externalClass className="org.simantics.db.layer0.variable.Variable"/>\r
-         <externalClass className="org.simantics.db.ReadGraph"/>\r
-         <externalClass className="org.simantics.db.WriteGraph"/>\r
-         <externalClass className="org.simantics.db.layer0.variable.VariableMap"/>\r
-         <class className="org.simantics.annotation.ui.SCL"/>\r
-      </namespace>\r
-   </extension>\r
-\r
-  <extension\r
-         point="org.eclipse.ui.exportWizards">\r
-      <wizard\r
-            category="org.simantics.export.export"\r
-            class="org.simantics.annotation.ui.wizard.WizardExtensionFactory:annotationTypeExportWizard"\r
-            icon="platform:/plugin/com.famfamfam.silk/icons/layout_sidebar.png"\r
-            id="org.simantics.annotation.ui.annotationTypeExportWizard"\r
-            name="Annotation Type">\r
-         <description>\r
-            Export an annotation type to the local file system.\r
-         </description>\r
-      </wizard>\r
-   </extension>\r
-   <extension\r
-         point="org.eclipse.ui.importWizards">\r
-      <category\r
-            id="org.simantics.modeling.import"\r
-            name="Generic Modeling">\r
-      </category>\r
-      <wizard\r
-            category="org.simantics.modeling.import"\r
-            class="org.simantics.annotation.ui.wizard.WizardExtensionFactory:annotationTypeImportWizard"\r
-            icon="platform:/plugin/com.famfamfam.silk/icons/layout_sidebar.png"\r
-            id="org.simantics.annotation.ui.annotationTypeImportWizard"\r
-            name="Annotation Type">\r
-         <description>\r
-            Import a previously exported annotation type into the current project from the local file system.\r
-         </description>\r
-      </wizard>\r
-   </extension>\r
-</plugin>\r
+<plugin>
+   <extension
+         point="org.eclipse.ui.editors">
+      <editor
+            class="org.simantics.modeling.ui.componentTypeEditor.ComponentTypeEditor:formTitle=Annotation Type"
+            default="false"
+            id="org.simantics.annotation.ui.annotationTypeEditor"
+            matchingStrategy="org.simantics.ui.workbench.editor.input.ResourceEditorInputMatchingStrategy"
+            name="Annotation Type Editor">
+      </editor>
+   </extension>
+   <extension
+         point="org.simantics.ui.resourceEditorAdapter">
+      <adapter
+            editorId="org.simantics.annotation.ui.annotationTypeEditor"
+            label="Annotation Type Editor"
+            priority="10"
+            type_uris="http://www.simantics.org/Annotation-0.0/AnnotationType">
+      </adapter>
+   </extension>
+   <extension
+         point="org.eclipse.ui.handlers">
+      <handler
+            class="org.simantics.annotation.ui.diagram.handlers.NewAnnotation"
+            commandId="org.simantics.annotation.ui.newAnnotation">
+         <enabledWhen>
+            <with
+                  variable="selection">
+               <iterate
+                     ifEmpty="false"
+                     operator="and">
+                  <and>
+                     <test
+                           args="http://www.simantics.org/Diagram-0.0/Flag"
+                           property="org.simantics.graph.resourceType">
+                     </test>
+                     <test
+                           property="org.simantics.diagram.flag.locallyConnected"
+                           value="false">
+                     </test>
+                  </and>
+               </iterate>
+            </with>
+         </enabledWhen>
+      </handler>
+  </extension>
+   <extension
+         point="org.eclipse.ui.commands">
+      <command
+            categoryId="org.simantics.modeling.ui.category"
+            id="org.simantics.annotation.ui.newAnnotation"
+            name="New Annotation">
+      </command>
+  </extension>
+
+   <extension point="org.simantics.scl.reflection.binding">
+      <namespace path="http://www.simantics.org/Annotation-0.0/Functions">
+         <externalClass className="org.simantics.db.Resource"/>
+         <externalClass className="org.simantics.db.layer0.variable.Variable"/>
+         <externalClass className="org.simantics.db.ReadGraph"/>
+         <externalClass className="org.simantics.db.WriteGraph"/>
+         <externalClass className="org.simantics.db.layer0.variable.VariableMap"/>
+         <class className="org.simantics.annotation.ui.SCL"/>
+      </namespace>
+   </extension>
+
+  <extension
+         point="org.eclipse.ui.exportWizards">
+      <wizard
+            category="org.simantics.export.export"
+            class="org.simantics.annotation.ui.wizard.WizardExtensionFactory:annotationTypeExportWizard"
+            icon="platform:/plugin/com.famfamfam.silk/icons/layout_sidebar.png"
+            id="org.simantics.annotation.ui.annotationTypeExportWizard"
+            name="Annotation Type">
+         <description>
+            Export an annotation type to the local file system.
+         </description>
+      </wizard>
+   </extension>
+   <extension
+         point="org.eclipse.ui.importWizards">
+      <category
+            id="org.simantics.modeling.import"
+            name="Generic Modeling">
+      </category>
+      <wizard
+            category="org.simantics.modeling.import"
+            class="org.simantics.annotation.ui.wizard.WizardExtensionFactory:annotationTypeImportWizard"
+            icon="platform:/plugin/com.famfamfam.silk/icons/layout_sidebar.png"
+            id="org.simantics.annotation.ui.annotationTypeImportWizard"
+            name="Annotation Type">
+         <description>
+            Import a previously exported annotation type into the current project from the local file system.
+         </description>
+      </wizard>
+   </extension>
+</plugin>