Revision 2399 tmp/org.txm.practically.rcp/doc/macroManage.html

macroManage.html (revision 2399)
1 1
<html>

2 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;

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>   &lt;extension point="PracticallyMacro.defineMacro"&gt;

14 47
      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

48
   &lt;/extension&gt;</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.

18 52
</html>


Also available in: Unified diff