Creates a new application context that binds a document with its view.
The constructor sets up event listeners to synchronize the document and view:
The view used to display the drawing
The document containing the drawing database
Gets the view component that renders the CAD drawing.
The associated view instance
Application context that binds a CAD document with its associated view.
This class establishes the connection between a CAD document (containing the drawing database) and its visual representation (the view). It handles event forwarding between the document and view to keep them synchronized.
The context manages:
Example