]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.team.ui/plugin.xml
Revert "Default property editing restores assertions"
[simantics/platform.git] / bundles / org.simantics.team.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 TODO:
15
16 Difference and merge view.
17 - Support for partial staging.
18 - Support for full and partial update  of parent workbench.
19
20 Team view to support multiple teams.
21
22 Support for common protocols:
23 [t]ftp, http[s], ssh, git, svn, ua
24
25 Support for team events.
26
27 And lots more...
28 -->
29 <plugin>
30
31    <extension
32          point="org.eclipse.ui.views">
33       <category
34             id="org.simantics.team"
35             name="Team">
36       </category>
37       <view
38             allowMultiple="false"
39             category="org.simantics.team"
40             class="org.simantics.team.ui.SynchroniseView"
41             icon="icons/arrow_refresh.png"
42             id="org.simantics.team.synchroniseView"
43             name="Team">
44       </view>
45       <view
46             allowMultiple="false"
47             category="org.simantics.team"
48             class="org.simantics.team.ui.StagingView"
49             icon="icons/bin_empty.png"
50             id="org.simantics.team.stagingView"
51             name="Staging">
52       </view>
53       <view
54             allowMultiple="false"
55             category="org.simantics.debug.ui"
56             class="org.simantics.team.ui.HistoryView"
57             icon="icons/bin.png"
58             id="org.simantics.team.historyView"
59             name="Graph History">
60       </view>
61       <view
62             allowMultiple="false"
63             category="org.simantics.debug.ui"
64             class="org.simantics.team.ui.UndoView"
65             icon="icons/arrow_left.png"
66             id="org.simantics.team.undoView"
67             name="Undo History">
68       </view>
69       <view
70             allowMultiple="false"
71             category="org.simantics.debug.ui"
72             class="org.simantics.team.ui.RedoView"
73             icon="icons/arrow_right.png"
74             id="org.simantics.team.redoView"
75             name="Redo History">
76       </view>
77    </extension>
78    <extension
79          point="org.eclipse.ui.perspectives">
80       <!--
81       <perspective
82             class="org.simantics.team.internal.TeamPerspective"
83             fixed="true"
84             icon="icons/arrow_refresh.png"
85             id="org.simantics.team.perspective"
86             name="Team">
87       </perspective>
88       -->
89    </extension>
90    <extension
91          point="org.eclipse.ui.perspectiveExtensions">
92       <!--
93       <perspectiveExtension
94             targetID="org.simantics.team.perspective">
95          <view
96                closeable="false"
97                id="org.simantics.team.synchroniseView"
98                minimized="false"
99                moveable="true"
100                ratio="0.35"
101                relationship="left"
102                relative="org.eclipse.ui.editorss"
103                showTitle="true"
104                standalone="true"
105                visible="true">
106          </view>
107          <perspectiveShortcut
108                id="org.simantics.user.perspective">
109          </perspectiveShortcut>
110       </perspectiveExtension>
111       -->
112    </extension>
113
114    <extension
115          point="org.eclipse.ui.commands">
116       <category
117             id="org.simantics.team.category"
118             name="TeamCategory">
119       </category>
120       <category
121             id="org.simantics.graph.category"
122             name="GraphCategory">
123       </category>
124       <command
125             categoryId="org.simantics.team.category"
126             description="Debug"
127             id="org.simantics.team.debug"
128             name="Debug">
129       </command>
130       <command
131             categoryId="org.simantics.team.category"
132             description="Edit Stage"
133             id="org.simantics.team.stageEdit"
134             name="Edit staging workbench">
135       </command>
136       <command
137             categoryId="org.simantics.team.category"
138             description="Initialize staging workbench"
139             id="org.simantics.team.stageInit"
140             name="Initialize staging workbench">
141       </command>
142       <command
143             categoryId="org.simantics.team.category"
144             description="Synchronise All Outgoing Changes"
145             id="org.simantics.team.synchroniseAll"
146             name="Synchronise All">
147       </command>
148       <command
149             categoryId="org.simantics.team.category"
150             description="Commit All Outgoing Changes"
151             id="org.simantics.team.commitAll"
152             name="Commit All">
153       </command>
154       <command
155             categoryId="org.simantics.team.category"
156             description="Exit"
157             id="org.simantics.team.stagingAll"
158             name="Exit">
159       </command>
160       <command
161             categoryId="org.simantics.team.category"
162             description="Push and Exit"
163             id="org.simantics.team.stagingOut"
164             name="Stage Out">
165       </command>
166       <command
167             categoryId="org.simantics.graph.category"
168             description="Undo to selected revision."
169             id="org.simantics.team.undoToSelectedRevision"
170             name="Undo To Selected Revision">
171       </command>
172       <command
173             categoryId="org.simantics.graph.category"
174             description="Init undo list to selected revision."
175             id="org.simantics.team.initUndoListFromSelectedRevision"
176             name="Init Undo List From Selected Revision">
177       </command>
178       <command
179             categoryId="org.simantics.graph.category"
180             description="Dump to selected revision."
181             id="org.simantics.team.dumpToSelectedRevision"
182             name="Dump To Selected Revision">
183       </command>
184       <command
185             categoryId="org.simantics.graph.category"
186             description="Revert to selected revision."
187             id="org.simantics.team.revertToSelectedRevision"
188             name="Revert To Selected Revision">
189       </command>
190       <command
191             categoryId="org.simantics.graph.category"
192             description="Revert to selected revision. Stop on error."
193             id="org.simantics.team.revertToSelectedRevisionStopOnError"
194             name="Revert To Selected Revision. Stop on error.">
195       </command>
196    </extension>
197    <extension
198          point="org.eclipse.ui.handlers">
199       <handler
200             class="org.simantics.team.ui.handlers.DebugHandler"
201             commandId="org.simantics.team.debug">
202       </handler>
203       <handler
204             class="org.simantics.team.ui.handlers.StageEditHandler"
205             commandId="org.simantics.team.stageEdit">
206       </handler>
207       <handler
208             class="org.simantics.team.ui.handlers.StageInitHandler"
209             commandId="org.simantics.team.stageInit">
210       </handler>
211       <handler
212             class="org.simantics.team.ui.handlers.SynchroniseAllHandler"
213             commandId="org.simantics.team.synchroniseAll">
214       </handler>
215       <handler
216             class="org.simantics.team.ui.handlers.CommitAllHandler"
217             commandId="org.simantics.team.commitAll">
218       </handler>
219       <handler
220             class="org.simantics.team.ui.handlers.StagingAllHandler"
221             commandId="org.simantics.team.stagingAll">
222       </handler>
223       <handler
224             class="org.simantics.team.ui.handlers.StagingOutHandler"
225             commandId="org.simantics.team.stagingOut">
226       </handler>
227       <handler
228             class="org.simantics.team.ui.handlers.UndoToSelectedRevisionHandler"
229             commandId="org.simantics.team.undoToSelectedRevision">
230       </handler>
231       <handler
232             class="org.simantics.team.ui.handlers.InitUndoListFromSelectedRevisionHandler"
233             commandId="org.simantics.team.initUndoListFromSelectedRevision">
234       </handler>
235       <handler
236             class="org.simantics.team.ui.handlers.DumpToSelectedRevisionHandler"
237             commandId="org.simantics.team.dumpToSelectedRevision">
238       </handler>
239       <handler
240             class="org.simantics.team.ui.handlers.RevertToSelectedRevisionHandler"
241             commandId="org.simantics.team.revertToSelectedRevision">
242       </handler>
243       <handler
244             class="org.simantics.team.ui.handlers.RevertToSelectedRevisionHandlerStopOnError"
245             commandId="org.simantics.team.revertToSelectedRevisionStopOnError">
246       </handler>
247    </extension>
248
249    <extension
250          point="org.eclipse.ui.menus">
251       <menuContribution
252             locationURI="popup:#TeamViewPopup">
253          <command
254                commandId="org.simantics.team.stageEdit"
255                disabledIcon="icons/bin_empty.png"
256                icon="icons/bin_empty.png"
257                label="Edit staging workbench"
258                style="push"
259                tooltip="Edit staging workbench">
260             <visibleWhen
261                   checkEnabled="false">
262             </visibleWhen>
263          </command>
264          <command
265                commandId="org.simantics.team.stageInit"
266                disabledIcon="icons/bin_closed.png"
267                icon="icons/bin_closed.png"
268                label="Initialize staging workbench"
269                style="push"
270                tooltip="Initialize staging workbench">
271             <visibleWhen
272                   checkEnabled="false">
273             </visibleWhen>
274          </command>
275          <command
276                commandId="org.simantics.team.synchroniseAll"
277                disabledIcon="platform:/plugin/com.famfamfam.silk/icons/door_out.png"
278                icon="platform:/plugin/com.famfamfam.silk/icons/door_out.png"
279                label="Update staging workbench"
280                style="push"
281                tooltip="Update staging workbench">
282             <visibleWhen
283                   checkEnabled="false">
284             </visibleWhen>
285          </command>
286       </menuContribution>
287       <menuContribution
288             locationURI="toolbar:org.simantics.team.synchroniseView">
289          <command
290                commandId="org.simantics.team.stageEdit"
291                disabledIcon="icons/bin_empty.png"
292                icon="icons/bin_empty.png"
293                label="Edit staging workbench"
294                style="push"
295                tooltip="Edit staging workbench">
296             <visibleWhen
297                   checkEnabled="false">
298             </visibleWhen>
299          </command>
300          <command
301                commandId="org.simantics.team.stageInit"
302                disabledIcon="icons/bin_closed.png"
303                icon="icons/bin_closed.png"
304                label="Initialize staging workbench"
305                style="push"
306                tooltip="Initialize staging workbench">
307             <visibleWhen
308                   checkEnabled="false">
309             </visibleWhen>
310          </command>
311          <command
312                commandId="org.simantics.team.synchroniseAll"
313                disabledIcon="platform:/plugin/com.famfamfam.silk/icons/door_out.png"
314                icon="platform:/plugin/com.famfamfam.silk/icons/door_out.png"
315                label="Update staging workbench"
316                style="push"
317                tooltip="Update staging workbench">
318             <visibleWhen
319                   checkEnabled="false">
320             </visibleWhen>
321          </command>
322       </menuContribution>
323       <menuContribution
324             locationURI="toolbar:org.simantics.team.stagingView">
325          <command
326                commandId="org.simantics.team.stagingAll"
327                disabledIcon="icons/bin.png"
328                icon="icons/bin.png"
329                label="Discarcd"
330                style="push"
331                tooltip="Discard">
332             <visibleWhen
333                   checkEnabled="false">
334             </visibleWhen>
335          </command>
336          <command
337                commandId="org.simantics.team.stagingOut"
338                disabledIcon="icons/door_in.png"
339                icon="icons/door_in.png"
340                label="Accept"
341                style="push"
342                tooltip="Accept">
343             <visibleWhen
344                   checkEnabled="false">
345             </visibleWhen>
346          </command>
347       </menuContribution>
348       <menuContribution
349             locationURI="popup:#GraphHistoryPopup">
350          <command
351                commandId="org.simantics.team.undoToSelectedRevision"
352                icon="platform:/plugin/com.famfamfam.silk/icons/arrow_undo.png"
353                label="Undo To Selected Revision"
354                style="push"
355                tooltip="Undo to selected revision.">
356             <visibleWhen
357                 checkEnabled="false">
358                 <!--<with
359                     variable="selection">
360                   <and>
361                      <test
362                            args="org.simantics.modeling.ui.modelBrowser.model.Node"
363                            property="org.simantics.modeling.ui.nodeClass">
364                      </test>
365                   </and>
366                 </with>-->
367             </visibleWhen>
368          </command>
369          <command
370                commandId="org.simantics.team.initUndoListFromSelectedRevision"
371                icon="platform:/plugin/com.famfamfam.silk/icons/arrow_redo.png"
372                label="Init Undo List From Selected Revision"
373                style="push"
374                tooltip="Init undo list from selected revision.">
375          </command>
376          <command
377                commandId="org.simantics.team.dumpToSelectedRevision"
378                icon="platform:/plugin/com.famfamfam.silk/icons/bin.png"
379                label="Dump To Selected Revision"
380                style="push"
381                tooltip="Dump to selected revision.">
382          </command>
383          <command
384                commandId="org.simantics.team.revertToSelectedRevision"
385                icon="platform:/plugin/com.famfamfam.silk/icons/bin_closed.png"
386                label="Revert To Selected Revision"
387                style="push"
388                tooltip="Revert to selected revision.">
389          </command>
390          <command
391                commandId="org.simantics.team.revertToSelectedRevisionStopOnError"
392                icon="platform:/plugin/com.famfamfam.silk/icons/bin_empty.png"
393                label="Revert To Selected Revision. Stop On Error."
394                style="push"
395                tooltip="Revert to selected revision. Stop On Error.">
396          </command>
397       </menuContribution>
398
399    </extension>
400
401 </plugin>