root / tmp / org.txm.practically.rcp / doc / macroManage.html @ 2611
Historique | Voir | Annoter | Télécharger (1,84 ko)
1 |
<html>
|
---|---|
2 |
|
3 |
<h1>
|
4 |
Creating new macros |
5 |
</h2>
|
6 |
Click the |
7 |
<bold>New</bold> |
8 |
button to create a new macro from scratch. |
9 |
<h1>
|
10 |
Deleting Macros |
11 |
</h2>
|
12 |
Select one or more macros to delete and click the delete button. |
13 |
Macros that are mapped to keystrokes will fail to delete, as will |
14 |
macro contributed by plug-ins. To delete a macro mapped to a key, you |
15 |
must first remove the key binding. |
16 |
<h1>
|
17 |
Editing Macros |
18 |
</h2>
|
19 |
Click the |
20 |
<bold>Edit</bold> |
21 |
button to edit an existing macro. Macros contributed from plug-ins |
22 |
cannot be edited. |
23 |
<h1>
|
24 |
Copying Macros |
25 |
</h2>
|
26 |
To copy one or more macros, select them and click the |
27 |
<bold>Copy</bold> |
28 |
button. Each macro will be copied and added to the list with a new |
29 |
name. This is useful if you need another similar command, or if you |
30 |
want to see the contents of a macro contributed from a plug-in. |
31 |
<h1>
|
32 |
Sharing macros |
33 |
</h2>
|
34 |
Click the |
35 |
<bold>Export</bold> |
36 |
or |
37 |
<bold>Import</bold> |
38 |
buttons to export or import macros. Macros exported to a file can |
39 |
be imported via the import dialog into another eclipse (with the |
40 |
Practically Macro plugins installed, as well as any required |
41 |
plugins/commands). Macros with ids that already exist in the |
42 |
current Eclipse will be skipped (i.e. they will not replace the |
43 |
current command with that ID). Also, from the export dialog you can |
44 |
copy the XML from the text box and put that directly into a |
45 |
plugin.xml definition with the following extension point: <br>
|
46 |
<pre> <extension point="PracticallyMacro.defineMacro"> |
47 |
include the text from the export page here |
48 |
</extension></pre> |
49 |
<br> When exporting to a file, you can export one macro or a
|
50 |
set of macros to the same file. If a macro uses other macros you |
51 |
have defined, you should export them all together. |
52 |
</html>
|