]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/winterwell.markdown/plugin.xml
Reduce the amount of annoying Retry mutex acquire print
[simantics/platform.git] / bundles / winterwell.markdown / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.7"?>
3 <plugin>
4
5    <extension
6          point="org.eclipse.ui.editors">
7       <editor
8             name="Markdown Editor"
9             extensions="txt,md,mdown,markdown,mdwn"
10             icon="icons/notepad.gif"
11             contributorClass="winterwell.markdown.editors.ActionBarContributor"
12             class="winterwell.markdown.editors.MarkdownEditor"
13             id="winterwell.markdown.editors.MarkdownEditor"
14             default="true">
15       </editor>
16       
17       <editor
18             class="winterwell.markdown.editors.MarkdownEditor"
19             contributorClass="winterwell.markdown.editors.ActionBarContributor"
20             default="true"
21             extensions="litcoffee"
22             icon="icons/coffee.png"
23             id="org.nodeclipse.ui.editors.LitCoffeeEditor"
24             name="LitCoffee (Markdown) Editor">
25       </editor>
26       
27    </extension>
28    
29    <!--
30    <extension
31          point="org.eclipse.ui.menus">
32       <menuContribution
33             allPopups="false"
34             locationURI="toolbar:winterwell.markdown.views.MarkdownPreview">
35          <command
36                commandId="winterwell.markdown.commands.OpenGfmView"
37                icon="icons/github-cat_yellow.png"
38                style="push">
39          </command>
40          <command
41                commandId="winterwell.markdown.commands.Preferences"
42                icon="icons/settings16_yellow.png"
43                style="push">
44          </command>
45       </menuContribution>
46       <menuContribution
47             allPopups="false"
48             locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
49          <toolbar
50                id="winterwell.markdown.MarkdownEditor">
51             <command
52                   commandId="winterwell.markdown.commands.OpenMdView"
53                   icon="icons/notepad.gif"
54                   style="push">
55                <visibleWhen
56                      checkEnabled="true">
57                </visibleWhen>
58             </command>
59          </toolbar>
60       </menuContribution>
61    </extension>
62    -->
63    <extension
64          point="org.eclipse.ui.commands">
65       <command
66             defaultHandler="winterwell.markdown.commands.OpenGfmView"
67             id="winterwell.markdown.commands.OpenGfmView"
68             name="Open GitHub Flavored Markdown View">
69       </command>
70       <command
71             id="winterwell.markdown.commands.OpenMdView"
72             name="Open Markdown View">
73       </command>
74       <command
75             defaultHandler="winterwell.markdown.commands.Preferences"
76             id="winterwell.markdown.commands.Preferences"
77             name="Preferences">
78       </command>
79    </extension>
80    
81    <extension
82          point="org.eclipse.ui.views">
83       <category
84             id="winterwell.markdown"
85             name="Markdown"/>
86       <view
87             category="winterwell.markdown"
88             class="winterwell.markdown.views.MarkdownPreview"
89             icon="icons/notepad.gif"
90             id="winterwell.markdown.views.MarkdownPreview"
91             name="Markdown View"/>
92    </extension>
93    <extension
94          point="org.eclipse.ui.preferencePages">
95       <page
96             class="winterwell.markdown.preferences.MarkdownPreferencePage"
97             id="winterwell.markdown.preferences.MarkdownPreferencePage"
98             name="Markdown"
99             category="org.eclipse.ui.preferencePages.GeneralTextEditor">
100          <keywordReference
101                id="winterwell.markdown.prefsKeywordReference">
102          </keywordReference>
103       </page>
104    </extension>
105    <extension
106          point="org.eclipse.ui.keywords">
107       <keyword
108             id="winterwell.markdown.prefsKeywordReference"
109             label="word wrapping tool tags">
110       </keyword>
111    </extension>
112    <extension
113          point="org.eclipse.ui.commands">
114       <command
115             defaultHandler="winterwell.markdown.editors.FormatAction"
116             description="Format the paragraph under the caret to fit the print margins by inserting/removing line-breaks"
117             id="winterwell.markdown.formatParagraphCommand"
118             name="Format paragraph">
119       </command>
120    </extension>
121    <extension
122          point="org.eclipse.ui.bindings">
123       <key
124             commandId="winterwell.markdown.formatParagraphCommand"
125             contextId="org.eclipse.ui.contexts.window"
126             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
127             sequence="Alt+Q">
128       </key>
129    </extension>
130    <extension
131          point="org.eclipse.ui.actionSets">
132       <actionSet
133             id="winterwell.markdown.actionSet"
134             label="winterwell.markdown.actionSet">
135          <action
136                class="winterwell.markdown.editors.FormatAction"
137                definitionId="winterwell.markdown.formatParagraphCommand"
138                id="winterwell.markdown.formatParagraphAction"
139                label="Format paragraph"
140                menubarPath="edit"
141                style="push">
142          </action>
143       </actionSet>
144    </extension>
145    <extension
146          point="org.eclipse.ui.handlers">
147       <handler
148             class="winterwell.markdown.commands.OpenMdView"
149             commandId="winterwell.markdown.commands.OpenMdView">
150          <activeWhen>
151             <with
152                   variable="activeEditorId">
153                <equals
154                      value="winterwell.markdown.editors.MarkdownEditor">
155                </equals>
156             </with>
157          </activeWhen>
158       </handler>
159    </extension>
160
161 </plugin>