Statistics
| Revision:

root / tmp / org.txm.practically.rcp / doc / macroManage.html @ 486

History | View | Annotate | Download (1.7 kB)

1 486 mdecorde
<html>
2 486 mdecorde
3 486 mdecorde
<h1>Creating new macros</h2>
4 486 mdecorde
Click the <bold>New</bold> button to create a new macro from scratch.
5 486 mdecorde
<h1>Deleting Macros</h2>
6 486 mdecorde
Select one or more macros to delete and click the delete button.  Macros that are mapped to keystrokes will fail to delete, as will macro contributed by plug-ins.  To delete a macro mapped to a key, you must first remove the key binding.
7 486 mdecorde
<h1>Editing Macros</h2>
8 486 mdecorde
Click the <bold>Edit</bold> button to edit an existing macro.  Macros contributed from plug-ins cannot be edited.
9 486 mdecorde
<h1>Copying Macros</h2>
10 486 mdecorde
To copy one or more macros, select them and click the <bold>Copy</bold> button.  Each macro will be copied and added to the list with a new name.  This is useful if you need another similar command, or if you want to see the contents of a macro contributed from a plug-in.
11 486 mdecorde
<h1>Sharing macros</h2>
12 486 mdecorde
Click the <bold>Export</bold> or <bold>Import</bold> buttons to export or import macros.  Macros exported to a file can be imported via the import dialog into another eclipse (with the Practically Macro plugins installed, as well as any required plugins/commands).  Macros with ids that already exist in the current Eclipse will be skipped (i.e. they will not replace the current command with that ID).  Also, from the export dialog you can copy the XML from the text box and put that directly into a plugin.xml definition with the following extension point:
13 486 mdecorde
<br><pre>   &lt;extension point="PracticallyMacro.defineMacro"&gt;
14 486 mdecorde
      include the text from the export page here
15 486 mdecorde
   &lt;/extension&gt;</pre><br>
16 486 mdecorde
When exporting to a file, you can export one macro or a set of macros to the same file.  If a macro uses other macros you have defined, you should export them all together.
17 486 mdecorde
18 486 mdecorde
</html>