pasteFromClipboard method

Set<Part> pasteFromClipboard()

If the clipboard holds a collection of Parts, and if the Model#dataFormat matches that stored in the clipboard, this makes a copy of the clipboard's parts and adds the copies to this Diagram.

This calls Diagram#copyParts in order to make a copy of the Parts in the clipboard and add them to this diagram.

This method may be overridden, but you should consider calling this base method in order to get all of its functionality. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @return {Set.

Implementation

_i3.Set<_i3.Part> pasteFromClipboard() => _i4.callMethod(
      this,
      'pasteFromClipboard',
      [],
    );