public interface IPointEditAction
Point
.
Examples of this action are:
This class is used by PointEditHandle
.
Modifier and Type | Method and Description |
---|---|
void |
execute(Point location,
ChangeStatus changeStatus)
Performs the action.
|
void |
execute(Point location,
EventStatus eventStatus,
ChangeStatus changeStatus)
Performs the part of the action that corresponds to the given
EventStatus . |
void execute(@NotNull Point location, @NotNull ChangeStatus changeStatus)
location
- the Point
location that is used to perform the actionchangeStatus
- the status of the action. Can be used to distinguish between intermediate changes and a finished change.void execute(@NotNull Point location, @NotNull EventStatus eventStatus, @NotNull ChangeStatus changeStatus)
EventStatus
.location
- the Point
location that is used to perform the actioneventStatus
- Used to indicate that an action has started
, is in progress
, or has ended
. This can for example be used by edit handles that apply the action on drag events. It is guaranteed that a sequence of calls to this method will contain at least 1 Start, and 1 End call.changeStatus
- the status of the action. Can be used to distinguish between intermediate changes and a finished change.