16 Feb
2005
16 Feb
'05
4:41 a.m.
On Tue, 2005-02-15 at 23:30, jon@...18... wrote:
Ok, so here is the plan:
1. Add a method to Application to answer the question "is the given SPDesktop the sole remaining view of its corresponding document" and rewrite the confirmation dialog code to use that
(this will fix bulia's favorite bug right away)
2. Stop SPDocument registering itself with Application; instead, Application will simply observe the desktops to see which documents they reference and build/update its document list from that instead.
3. Remove Application lifecycle management from SPDocument and put it someplace else (probably have SPViews ref the Application object, and have commandline usage be a special case that simply unrefs the Application when it is done).
-mental