Statistics
| Revision:

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

History | View | Annotate | Download (1.7 kB)

1
<html>
2

    
3
<h1>Creating new macros</h2>
4
Click the <bold>New</bold> button to create a new macro from scratch.
5
<h1>Deleting Macros</h2>
6
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
<h1>Editing Macros</h2>
8
Click the <bold>Edit</bold> button to edit an existing macro.  Macros contributed from plug-ins cannot be edited.
9
<h1>Copying Macros</h2>
10
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
<h1>Sharing macros</h2>
12
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
<br><pre>   &lt;extension point="PracticallyMacro.defineMacro"&gt;
14
      include the text from the export page here
15
   &lt;/extension&gt;</pre><br>
16
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

    
18
</html>