canCutSelection method

bool canCutSelection()

This predicate controls whether or not the user can invoke the #cutSelection command.

This method may be overridden, but you should consider calling this base method in order to get all of its functionality. This method must not have any side-effects. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @return {boolean} This returns true: if the diagram is not Diagram#isReadOnly, if Diagram#allowCopy is true, if Diagram#allowDelete is true, if Diagram#allowClipboard is true, and if there are some selected Parts. @see #cutSelection

Implementation

_i2.bool canCutSelection() => _i4.callMethod(
      this,
      'canCutSelection',
      [],
    );