doActivate method

void doActivate()

Start the dragging operation. This calls #computeEffectiveCollection and saves the result as #draggedParts.

This starts a "Drag" transaction. Depending on what happens, the transaction may be finished as a "Move" or a "Copy" transaction, or it may be rolled-back if the tool is cancelled.

Normally when this method is called the value of #currentPart will be null, in which case this will call Tool#standardMouseSelect which will set #currentPart. But if when this method is called the value of #currentPart has already been set because the programmer wants the user to start dragging that Part, then this method will not need to call Tool#standardMouseSelect because the Part(s) to be selected and dragged have already been determined by the caller.

Implementation

void doActivate() {
  _i4.callMethod(
    this,
    'doActivate',
    [],
  );
}