// Copyright (C) 1995 Taligent, Inc. All rights reserved. TCanvasSelectionInteractor::TCanvasSelectionInteractor ( MCanvasSelection* initialSelection, MToolHandler* handler, TCanvasView* canvasView ) : fRectSelecting (false), fSelection (initialSelection), fCanvasView (canvasView), fBinding (NIL), TCanvasRectDragInteractor (handler) { fCommand = new TTranslateCanvasGraphicCmd (); fBinding = new TToolCommandBindingTo<MCanvasSelection> (fCommand, fSelection); }