]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.browsing.ui.swt/plugin.xml
Type specific graph explorer filter area
[simantics/platform.git] / bundles / org.simantics.browsing.ui.swt / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
3 <plugin>
4
5    <extension
6          point="org.eclipse.ui.contexts">
7       <context
8             description="Property related inline editing is active"
9             id="org.simantics.browsing.ui.inlineEditing"
10             name="Inline Editing Active"
11             parentId="org.eclipse.ui.contexts.window">
12       </context>
13    </extension>
14
15    <extension
16          point="org.eclipse.ui.handlers">
17       <handler
18             class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:cut"
19             commandId="org.eclipse.ui.edit.cut">
20          <activeWhen>
21             <reference definitionId="org.simantics.browsing.ui.edit.inline.active" />
22          </activeWhen>
23       </handler>
24       <handler
25             class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:copy"
26             commandId="org.eclipse.ui.edit.copy">
27          <activeWhen>
28             <reference definitionId="org.simantics.browsing.ui.edit.inline.active" />
29          </activeWhen>
30       </handler>
31       <handler
32             class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:paste"
33             commandId="org.eclipse.ui.edit.paste">
34          <activeWhen>
35             <reference definitionId="org.simantics.browsing.ui.edit.inline.active" />
36          </activeWhen>
37       </handler>
38       <handler
39             class="org.eclipse.ui.internal.handlers.SelectAllHandler"
40             commandId="org.eclipse.ui.edit.selectAll">
41          <activeWhen>
42             <reference definitionId="org.simantics.browsing.ui.edit.inline.active" />
43          </activeWhen>
44       </handler>
45    </extension>
46    <extension
47          point="org.eclipse.core.expressions.definitions">
48       <definition
49             id="org.simantics.browsing.ui.edit.inline.active">
50          <with variable="activeFocusControlId">
51             <equals value="org.simantics.browsing.ui.inlineEditing"/>
52          </with>
53       </definition>
54    </extension>
55
56 </plugin>