]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.message.ui/plugin.xml
Generic OpenDiagramFromComponentAdapter
[simantics/platform.git] / bundles / org.simantics.message.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>\r<!--
3     Copyright (c) 2007, 2010 Association for Decentralized Information Management
4     in 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    <extension
16          point="org.simantics.message.messageDataScheme">
17       <scheme
18             id="org.simantics.message.scheme.resource"
19             scheme="resource"
20             serializer="org.simantics.message.ui.scheme.ResourceReferenceSerializer">
21          <description>
22             A standard serializer for Simantics database resources.
23          </description>
24       </scheme>
25       <scheme
26             id="org.simantics.message.scheme.http"
27             scheme="http"
28             serializer="org.simantics.message.ui.scheme.URLReferenceSerializer">
29          <description>
30             A reference serializer for URLs.
31          </description>
32       </scheme>         
33       <handler
34             handler="org.simantics.message.ui.scheme.ResourceSchemeHandler"
35             schemeId="org.simantics.message.scheme.resource">
36          <description>
37             A standard scheme handler for Simantics database resources that simulates a double click on the referenced resource.
38          </description>
39       </handler>
40       <handler
41             handler="org.simantics.message.ui.scheme.HttpSchemeHandler"
42             schemeId="org.simantics.message.scheme.http">
43          <description>
44             A default HTTP scheme handler for links in HTML messages. It will open a browser editor part for the received URL.
45          </description>
46       </handler>
47    </extension>
48
49    <!--<extension
50          point="org.eclipse.ui.views">
51       <category
52             id="org.simantics.logging.category"
53             name="Logging">
54       </category>
55       <view
56             category="org.simantics.logging.category"
57             class="org.simantics.message.ui.LogView"
58             icon="icons/script.png"
59             id="org.simantics.message.view"
60             name="Messages"
61             restorable="true">
62          <description>
63             The standard log entry viewer for the Simantics platform.
64          </description>
65       </view>
66    </extension>-->
67    
68    <extension
69          point="org.eclipse.ui.commands">
70       <command
71             id="org.simantics.message.test.resourceStatus"
72             name="Generate Test Resource Status Message">
73       </command>
74    </extension>
75    <extension
76          point="org.eclipse.ui.handlers">
77       <handler
78             class="org.simantics.message.ui.test.TestResourceStatusHandler"
79             commandId="org.simantics.message.test.resourceStatus">
80       </handler>
81    </extension>
82    <extension
83          point="org.eclipse.ui.menus">
84       <!--
85       <menuContribution
86             locationURI="popup:org.eclipse.ui.popup.any">
87          <command
88                commandId="org.simantics.message.test.resourceStatus"
89                style="push">
90             <visibleWhen
91                   checkEnabled="false">
92                <with
93                      variable="activeContexts">
94                   <iterate
95                         ifEmpty="false"
96                         operator="or">
97                      <equals
98                            value="fi.vtt.simantics.apros.ui.context">
99                      </equals>
100                   </iterate>
101                </with>
102             </visibleWhen>
103          </command>
104       </menuContribution>
105       -->
106    </extension>
107
108 </plugin>