]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.views.text/plugin.xml
Improved usability of shared library export wizard
[simantics/platform.git] / bundles / org.simantics.views.text / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
3 <!--
4     Copyright (c) 2017 Association for Decentralized Information Management in
5     Industry THTH ry.
6     All rights reserved. This program and the accompanying materials
7     are made available under the terms of the Eclipse Public License v1.0
8     which accompanies this distribution, and is available at
9     http://www.eclipse.org/legal/epl-v10.html
10    
11     Contributors:
12         Semantum Oy - (#7066) undo/redo support for markup editor
13  -->
14
15 <plugin>
16
17    <extension
18          point="org.eclipse.core.expressions.definitions">
19       <definition
20             id="org.simantics.views.text.inTextViewer">
21          <with variable="activeFocusControlId">
22             <equals value="inTextViewer"/>
23          </with>
24       </definition>
25    </extension>
26
27    <extension
28          point="org.eclipse.ui.handlers">
29       <handler
30             class="org.simantics.views.text.internal.TextViewerUndoHandler:undo"
31             commandId="org.eclipse.ui.edit.undo">
32          <activeWhen>
33             <reference definitionId="org.simantics.views.text.inTextViewer" />
34          </activeWhen>
35       </handler>
36       <handler
37             class="org.simantics.views.text.internal.TextViewerUndoHandler:redo"
38             commandId="org.eclipse.ui.edit.redo">
39          <activeWhen>
40             <reference definitionId="org.simantics.views.text.inTextViewer" />
41          </activeWhen>
42       </handler>
43    </extension>
44
45 </plugin>