Moving Runnables and Methods between Diagrams
If you are working in the block diagram editor for SWCs, do the following:
- Load the diagram that contains the runnable or method you want to move.
You can move only runnables/methods from the diagram currently loaded.
- In the Outline tab, select the runnable/method you want to move.
Open the Window menu and select Move Method to.
In the block diagram editor for SWCs, the following can happen: If a sequence call for the runnable/method is present in the original diagram, you are asked if you want to move the runnable/method.
- Click OK to continue.
In the Window menu, select Move Method to or Move Runnable to to move the runnable/method.
The Specification window displays a list of all the diagrams for the current component.
Select the diagram to which you want to move the runnable/method and click OK.
The selected runnable/method is moved to the target diagram.
In the block diagram editor for SWCs, any sequence calls present in the original diagram for the runnable/method are reset.
Note |
|---|
In the block diagram editor for SWCs, you can move methods/runnables only if their signature elements do not appear in the diagram. Otherwise, remove the graphical occurrences of signature elements first and then move the method. |
See also
Loading a Diagram (applies only to the block diagram editor for SWCs)