blob: 9d812915bb2472b25725546759d6896c1ea0ebab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse version="3.4"?>
<plugin>
<extension point="org.eclipse.compare.contentMergeViewers">
<viewer class="org.eclipse.papyrus.infra.emf.compare.ui.viewer.TransactionalContentMergeViewerCreator" extensions="uml" id="org.eclipse.papyrus.infra.emf.compare.ui.papyrus.viewer" label="INFRA Papyrus Viewer">
</viewer>
</extension>
<extension point="org.eclipse.compare.structureMergeViewers">
<viewer class="org.eclipse.papyrus.infra.emf.compare.ui.structural.viewer.PapyrusStructureMergeViewerCreator" extensions="uml" id="org.eclipse.papyrus.infra.emf.compare.ui.structural.viewer" label="INFRA Papyrus Structure Merge Viewer">
</viewer>
</extension>
<extension point="org.eclipse.ui.handlers">
<handler class="org.eclipse.papyrus.infra.emf.compare.ui.handlers.UndoHandler" commandId="org.eclipse.ui.edit.undo">
<enabledWhen>
<with variable="activeEditorId">
<equals value="org.eclipse.compare.CompareEditor">
</equals>
</with>
</enabledWhen>
<activeWhen>
<with variable="activeEditorId">
<equals value="org.eclipse.compare.CompareEditor">
</equals>
</with>
</activeWhen>
</handler>
<handler class="org.eclipse.papyrus.infra.emf.compare.ui.handlers.RedoHandler" commandId="org.eclipse.ui.edit.redo">
<enabledWhen>
<with
variable="activeEditorId">
<equals
value="org.eclipse.compare.CompareEditor">
</equals>
</with>
</enabledWhen>
<activeWhen>
<with
variable="activeEditorId">
<equals
value="org.eclipse.compare.CompareEditor">
</equals>
</with>
</activeWhen>
</handler>
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution allPopups="false" locationURI="menu:edit?before=cut">
<command commandId="org.eclipse.papyrus.infra.emf.compare.ui.customUndo" label="My Custom Undo" style="push">
</command>
<command commandId="org.eclipse.papyrus.infra.emf.compare.ui.customRedo" label="My Custom Redo" style="push">
</command>
</menuContribution>
</extension>
<extension point="org.eclipse.ui.commands">
<command defaultHandler="org.eclipse.papyrus.infra.emf.compare.ui.handlers.UndoHandler" id="org.eclipse.papyrus.infra.emf.compare.ui.customUndo" name="Custom Undo Command">
</command>
<command defaultHandler="org.eclipse.papyrus.infra.emf.compare.ui.handlers.RedoHandler" id="org.eclipse.papyrus.infra.emf.compare.ui.customRedo" name="Custom Redo Command">
</command>
</extension>
</plugin>
|