- document = c.getDocument();
-
- //this->cursor = cursor;
- //setSnapMode(graphicView.getDefaultSnapMode());
+ document = ec.getDocument();
+
+ // This is here until I can figure out a better way to contain all of this
+ // circular referential nonsense that exists in this codebase. It will be
+ // expunged, by Grabthar's Hammer!
+ graphicView->snapper.SetContainer(container);
+ graphicView->snapper.SetGraphicView(graphicView); // <-- THIS is what I mean! INSANE!
+ // Not all actions use these. Perhaps we need to pass params to the contructor
+ // in order to set these? Setting the default to true for both?
+ graphicView->snapper.SetVisible();
+ graphicView->preview.SetVisible();