Moving Runnables and Methods between Diagrams

  1. If you are working in the block diagram editor for SWCs, do the following:

    You can move only runnables/methods from the diagram currently loaded.

  2. In the Outline tab, select the runnable/method you want to move.
  3. 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.
  4. 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.

  5. 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)