canEdit method
This predicate returns true if #textEditable is true, if the layer's Layer#allowTextEdit is true, and if the diagram's Diagram#allowTextEdit is true.
This does not check Diagram#isReadOnly or Model#isReadOnly, but commands and tools should check those properties. @expose @return {boolean} true if the user may edit this part.
Implementation
_i2.bool canEdit() => _i4.callMethod(
this,
'canEdit',
[],
);