PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/bundles/plugins-trunk/XInsert/actions.xml

#
XML | 38 lines | 30 code | 8 blank | 0 comment | 0 complexity | 79143061cadb8cb736e76ead1153b97a MD5 | raw file
 1<?xml version="1.0"?>
 2
 3<!DOCTYPE ACTIONS SYSTEM "actions.dtd">
 4
 5 <ACTIONS>
 6
 7     <ACTION NAME="XInsert.toggle">
 8         <CODE>
 9             view.getDockableWindowManager()
10			 	.toggleDockableWindow(XInsertPlugin.NAME);
11         </CODE>
12         <IS_SELECTED>
13             return view.getDockableWindowManager()
14               .isDockableWindowVisible(XInsertPlugin.NAME);
15         </IS_SELECTED>
16     </ACTION>
17
18     <ACTION NAME="XInsert-to-front">
19         <CODE>
20		 	view.getDockableWindowManager()
21				.addDockableWindow(XInsertPlugin.NAME);
22         </CODE>
23     </ACTION>
24
25     <ACTION NAME="XInsert-focus">
26         <CODE>
27            XInsertActions.goToXInsert(view);
28         </CODE>
29     </ACTION>
30
31     <ACTION NAME="XInsert-insert-selected">
32         <CODE>
33            XInsertActions.insertSelected(view);
34         </CODE>
35     </ACTION>
36
37 </ACTIONS>
38