X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.ui%2Fschema%2FresourceEditorAdapter.exsd;h=5bfce96af74ffb3e42a240418480d19e4584158a;hb=1fb7e00de0895266e08097371c6f84e4322d6530;hp=8d3fd55f01fa0013af0082c8bd0a9356b407e65a;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git
diff --git a/bundles/org.simantics.ui/schema/resourceEditorAdapter.exsd b/bundles/org.simantics.ui/schema/resourceEditorAdapter.exsd
index 8d3fd55f0..5bfce96af 100644
--- a/bundles/org.simantics.ui/schema/resourceEditorAdapter.exsd
+++ b/bundles/org.simantics.ui/schema/resourceEditorAdapter.exsd
@@ -1,258 +1,258 @@
-
-
-
-
-
-
-
-
- <p>
-This extension point allows definition of adapter classes that can open views or editors for specified input selections.
-</p>
-
-<p>
-A priority can be associated to each adapter to provide an ordering for adapters that can handle a specified input. Default priority is 0.
-</p>
-
-<p>
-A group can be assigned for adapters that allows shadowing based on adapter priority. Only the highest priority adapter of all adapters belonging to the same group will be selected when requesting for suitable adapters for an input. See the extension point description element descriptions for details.
-</p>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This element specifies an adapter that can be used to open an eclipse editor part for a database resource of the specified type.
-
-
-
-
-
-
-
-
-
- The ID of an IEditorPart registered through the <code>org.eclipse.ui.editor</code> extension point.
-
-
-
-
-
-
- A unique identifier for this adapter.
-
-
-
-
-
-
- A group identifier for this adapter. Adapters that belong to the same group shadow each other based on their priority - higher priority shadows lower.
-
-
-
-
-
-
-
-
-
- A comma-separated list of types that are accepted by this adapter, specified as URI strings. For example to accept only diagram instances, <code>http://www.vtt.fi/Simantics/Diagram/1.0/Types#Diagram</code> would be given as the value.
-
-
-
-
-
-
- An integer number number to describe the importance of this adapter with respect to other adapters. A larger number means higher priority. A negative priority means that the action is never selected as a default performed action even if it is the only action available for the specified input.
-
-
-
-
-
-
- An optional overriding label to describe this adapter. If not specified the label is retrieved from the <code>IEditorPart</code> referenced by the editorId attribute.
-
-
-
-
-
-
- An optional overriding image to describe this adapter. If not specified the image is retrieved from the <code>IEditorPart</code> referenced by the editorId attribute.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This element specifies a customized adapter that can be used to perform any activity when the user selects a database resource of an allowed type. Both, the decision of which resources are allowed and what kind of action to perform on the resource, are up to the <code>ResourceEditorAdapter</code> extension specified by the <code>class</code> attribute.
-
-
-
-
-
-
-
-
-
- A unique identifier for this adapter.
-
-
-
-
-
-
- A group identifier for this adapter. Adapters that belong to the same group shadow each other based on their priority - higher priority shadows lower.
-
-
-
-
-
-
-
-
-
- The class that implements the <code>org.simantics.ui.workbench.editor.EditorAdapter</code> interface to perform the actions deemed necessary for a partciular adapter. Implementers must extend the AbstractResourceEditorAdapter class, otherwise the priority attribute will have no effect.
-
-
-
-
-
-
-
-
-
- An integer number number to describe the importance of this adapter with respect to other adapters. A larger number means higher priority. A negative priority means that the action is never selected as a default performed action even if it is the only action available for the specified input. This priority value will only have an effect if the class extends <code>org.simantics.proconf.ui.workbench.editor.AbstractResourceEditorAdapter</code>.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This element specifies a reference to a context (contributed via org.eclipse.ui.contexts).
-
-
-
-
-
-
- A reference to the ID of a context extension in the org.eclipse.ui.contexts extension point.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <pre>
- <extension
- point="org.simantics.ui.resourceEditorAdapter">
- <!-- A fully declarative editor adapter definition for graph resources. Editor is opened by SimpleEditorAdapter. -->
- <adapter
- editorId="org.simantics.example.diagramEditor"
- id="org.simantics.example.diagramEditor"
- priority="100"
- groupId="org.simantics.example.group"
- type_uris="http://www.simantics.org/Simantics/Diagram/2.0#Diagram">
- <inContext
- id="org.simantics.example.context">
- </inContext>
- </adapter>
- <!-- A programmatic editor adapter definition, editor is opened by adapter class. -->
- <adapterClass
- class="org.simantics.example.MyEditorAdapter"
- id="org.simantics.example.myEditorAdapter"
- groupId="org.simantics.example.group"
- priority="50">
- </adapterClass>
- </extension>
-</pre>
-
-
-
-
-
-
-
-
-
- See <code>org.simantics.ui.workbench.editor.EditorRegistry</code> for the front-end to this extension point.
-
-
-
-
-
+
+
+
+
+
+
+
+
+ <p>
+This extension point allows definition of adapter classes that can open views or editors for specified input selections.
+</p>
+
+<p>
+A priority can be associated to each adapter to provide an ordering for adapters that can handle a specified input. Default priority is 0.
+</p>
+
+<p>
+A group can be assigned for adapters that allows shadowing based on adapter priority. Only the highest priority adapter of all adapters belonging to the same group will be selected when requesting for suitable adapters for an input. See the extension point description element descriptions for details.
+</p>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ This element specifies an adapter that can be used to open an eclipse editor part for a database resource of the specified type.
+
+
+
+
+
+
+
+
+
+ The ID of an IEditorPart registered through the <code>org.eclipse.ui.editor</code> extension point.
+
+
+
+
+
+
+ A unique identifier for this adapter.
+
+
+
+
+
+
+ A group identifier for this adapter. Adapters that belong to the same group shadow each other based on their priority - higher priority shadows lower.
+
+
+
+
+
+
+
+
+
+ A comma-separated list of types that are accepted by this adapter, specified as URI strings. For example to accept only diagram instances, <code>http://www.vtt.fi/Simantics/Diagram/1.0/Types#Diagram</code> would be given as the value.
+
+
+
+
+
+
+ An integer number number to describe the importance of this adapter with respect to other adapters. A larger number means higher priority. A negative priority means that the action is never selected as a default performed action even if it is the only action available for the specified input.
+
+
+
+
+
+
+ An optional overriding label to describe this adapter. If not specified the label is retrieved from the <code>IEditorPart</code> referenced by the editorId attribute.
+
+
+
+
+
+
+ An optional overriding image to describe this adapter. If not specified the image is retrieved from the <code>IEditorPart</code> referenced by the editorId attribute.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ This element specifies a customized adapter that can be used to perform any activity when the user selects a database resource of an allowed type. Both, the decision of which resources are allowed and what kind of action to perform on the resource, are up to the <code>ResourceEditorAdapter</code> extension specified by the <code>class</code> attribute.
+
+
+
+
+
+
+
+
+
+ A unique identifier for this adapter.
+
+
+
+
+
+
+ A group identifier for this adapter. Adapters that belong to the same group shadow each other based on their priority - higher priority shadows lower.
+
+
+
+
+
+
+
+
+
+ The class that implements the <code>org.simantics.ui.workbench.editor.EditorAdapter</code> interface to perform the actions deemed necessary for a partciular adapter. Implementers must extend the AbstractResourceEditorAdapter class, otherwise the priority attribute will have no effect.
+
+
+
+
+
+
+
+
+
+ An integer number number to describe the importance of this adapter with respect to other adapters. A larger number means higher priority. A negative priority means that the action is never selected as a default performed action even if it is the only action available for the specified input. This priority value will only have an effect if the class extends <code>org.simantics.proconf.ui.workbench.editor.AbstractResourceEditorAdapter</code>.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ This element specifies a reference to a context (contributed via org.eclipse.ui.contexts).
+
+
+
+
+
+
+ A reference to the ID of a context extension in the org.eclipse.ui.contexts extension point.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <pre>
+ <extension
+ point="org.simantics.ui.resourceEditorAdapter">
+ <!-- A fully declarative editor adapter definition for graph resources. Editor is opened by SimpleEditorAdapter. -->
+ <adapter
+ editorId="org.simantics.example.diagramEditor"
+ id="org.simantics.example.diagramEditor"
+ priority="100"
+ groupId="org.simantics.example.group"
+ type_uris="http://www.simantics.org/Simantics/Diagram/2.0#Diagram">
+ <inContext
+ id="org.simantics.example.context">
+ </inContext>
+ </adapter>
+ <!-- A programmatic editor adapter definition, editor is opened by adapter class. -->
+ <adapterClass
+ class="org.simantics.example.MyEditorAdapter"
+ id="org.simantics.example.myEditorAdapter"
+ groupId="org.simantics.example.group"
+ priority="50">
+ </adapterClass>
+ </extension>
+</pre>
+
+
+
+
+
+
+
+
+
+ See <code>org.simantics.ui.workbench.editor.EditorRegistry</code> for the front-end to this extension point.
+
+
+
+
+