The interactor created by this function is not generic. Therefore, do not create an interactor with this function when the interaction behavior is general to all canvas graphics such as rotating, scaling, or translating the selected canvas graphics. However, you would create an interactor this way if each canvas graphic defines its own way of interacting such as how it is drawn. For example, selecting multiple points for a polyline as opposed to dragging out a rectangle or ellipse.
As shown in the following function declaration, CreateInteractor takes a selection, a tool handler, and a point as parameters.
virtual TCanvasInteractor* CreateInteractor( MCanvasSelection* adoptSelection, MToolHandler* toolHandler, const TGPoint& hitLocation ) const;