<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 15, 2014 at 2:22 PM, David T. Lewis <span dir="ltr">&lt;<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Oct 15, 2014 at 01:23:25PM -0700, tim Rowledge wrote:<br>
&gt;<br>
&gt; &gt; On Wed, Oct 15, 2014 at 9:45 PM, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt;    occasionally I find it useful to have a window that is always present in the current project, so that wen I change projects the window either moves to the new project, or is in all worlds.  Is there a way of doing this in the standard system?  (I can&#39;t see this from reading the labyrinthine project enter code, but I could be missing something ;-) ).  Anyone have a changeset to do the same?<br>
&gt;<br>
</span>&gt; Wow, I remember using this all the time back in the Old Days. I think you wrote the code for MVC to do it. Or maybe it was me after talking with you about it? Dunno.  IIRC it wasn?t at all hard in MVC-land but after looking at how this sort of thing is done in Ankh-Morph-pork I?m not sure it?s intelligible to mere humans.<br>
&gt;<br>
<br>
Interesting question. Karl&#39;s suggestion of using a shared flap is probably<br>
the quickest expedient. But more generally:<br>
<br>
MorphicProject and MVCProject would need to handle this differently as would<br>
(the regrettably yet to be implemented) SeasideProject, AidaProject, and<br>
CuisMorphic3Project. So the concept would make sense within a given species<br>
of Project.<br></blockquote><div><br></div><div>When I did this years ago I just added a per-window property and had the Project enter code check for the property and move it if set.  So one could move windows between projects by setting, entering and unsetting.  That&#39;s simple.  But I hoped someone had already done this.  The Project code is complex enough as it is...</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
For MVC it would presumably be a matter of adding a new View for the given<br>
Model in all of the projects of type MVCProject. For Morphic, it is probably<br>
a matter of inserting the actual Morph into the morph hierarchy for all<br>
projects of type MorphicProject. In either case, these would need to be<br>
top level windows, so the insertion logic is probably not too hard to figure<br>
out.<br>
<br>
I guess you would want some window menu option to make the window sticky<br>
in all projects, or to remove it from all other projects except the currently<br>
active one. Also a visual indicator that the window has been pinned to all<br>
relevant projects.<br>
<br>
It is probably also possible to make the window be migratory (Eliot&#39;s<br>
suggestion of having it be reopened in the currently active project,<br>
whatever that might happen to be). However, as a practical matter that<br>
probably would need to be limited to moving from one project to another<br>
of the same type, unless of course we do a more complete implementation<br>
of ToolBuilder for all windows of interest.<br>
<br>
This would make a great project for somebody to try. Part concept, part<br>
requirements, part design, part implementation, and none of it too huge<br>
in scope. Any takers?<br>
<br>
Dave<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</div></div>