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