Class for a comment move event. Created before the move.
Optionalopt_comment: Blockly.WorkspaceCommentThe comment that is being moved. Undefined for a blank event.
The comment that is being moved. Will be cleared after recording the new location.
The ID of the comment this event pertains to.
The event group id for the group this event belongs to. Groups define events that should be treated as an single action from the user's perspective, and should be undone together.
Whether or not an event is blank.
Whether or not the event is a UI event.
The location after the move, in workspace coordinates.
The location before the move, in workspace coordinates.
Sets whether the event should be added to the undo stack.
Type of this event.
The workspace identifier for this event.
Does this event record any change of state?
False if something changed.
Record the comment's new location. Called after the move. Can only be called once.
Run a move event.
True if run forward, false if run backward (undo).
Override the location before the move. Use this if you don't create the event until the end of the move, but you know the original location.
The location before the move, in workspace coordinates.
Fake class which should be extended to avoid inheriting static properties