Nested Shapes in SDK 1.1 Hi,<br>DSL Nested shapes routing support was due to be added to SDK 1.1 according to the VSX team blog entry at <a href="http://blogs.msdn.com/vsxteam/archive/2008/08/05/what-have-we-been-up-to.aspx">http://blogs.msdn.com/vsxteam/archive/2008/08/05/what-have-we-been-up-to.aspx</a>.<br><br>The official release announcement only mentioned Print Preview.<br><br>Did this feature make it? Is there any documentation?<br><br>thanks,<br>Pete© 2009 Microsoft Corporation. All rights reserved.Wed, 03 Sep 2008 10:40:18 Zc4aab157-2f67-4d45-bb62-dc14c9df045ahttp://social.msdn.microsoft.com/Forums/en/vsx/thread/c4aab157-2f67-4d45-bb62-dc14c9df045a#c4aab157-2f67-4d45-bb62-dc14c9df045ahttp://social.msdn.microsoft.com/Forums/en/vsx/thread/c4aab157-2f67-4d45-bb62-dc14c9df045a#c4aab157-2f67-4d45-bb62-dc14c9df045aPeteGoohttp://social.msdn.microsoft.com/Profile/en-US/?user=PeteGooNested Shapes in SDK 1.1 Hi,<br>DSL Nested shapes routing support was due to be added to SDK 1.1 according to the VSX team blog entry at <a href="http://blogs.msdn.com/vsxteam/archive/2008/08/05/what-have-we-been-up-to.aspx">http://blogs.msdn.com/vsxteam/archive/2008/08/05/what-have-we-been-up-to.aspx</a>.<br><br>The official release announcement only mentioned Print Preview.<br><br>Did this feature make it? Is there any documentation?<br><br>thanks,<br>PeteSat, 23 Aug 2008 01:41:25 Z2008-08-23T01:41:55Zhttp://social.msdn.microsoft.com/Forums/en/vsx/thread/c4aab157-2f67-4d45-bb62-dc14c9df045a#b8d2bbba-c452-4298-9002-071a4d07a8abhttp://social.msdn.microsoft.com/Forums/en/vsx/thread/c4aab157-2f67-4d45-bb62-dc14c9df045a#b8d2bbba-c452-4298-9002-071a4d07a8abFeng Chenhttp://social.msdn.microsoft.com/Profile/en-US/?user=Feng%20ChenNested Shapes in SDK 1.1Hello Pete,<br><br>Yes, this feature has been added and the DSL team are working on a sample to demonstrate this new feature, which was done into the runtime, but not the authoring.<br><br>I believe this sample will be out in a few days. And I'll let you know as soon as possible.<br><br>Thanks!<br><br> <hr size="1" align="left" width="25%">Please remember to mark the replies as answers if they help and unmark them if they provide no help.Thu, 28 Aug 2008 07:41:09 Z2008-08-28T07:41:09Zhttp://social.msdn.microsoft.com/Forums/en/vsx/thread/c4aab157-2f67-4d45-bb62-dc14c9df045a#477b500d-e012-4d42-b8ad-dcdd87b09542http://social.msdn.microsoft.com/Forums/en/vsx/thread/c4aab157-2f67-4d45-bb62-dc14c9df045a#477b500d-e012-4d42-b8ad-dcdd87b09542Jean-Marc Prieurhttp://social.msdn.microsoft.com/Profile/en-US/?user=Jean-Marc%20PrieurNested Shapes in SDK 1.1 Hello.<br>I posted something about nested shapes in SDK 1.1 on my blog (<a href="http://blogs.msdn.com/jmprieur/archive/2008/09/03/dsl-tools-support-of-nested-shapes-in-visual-studio-2008-sp1.aspx">[DSL Tools] Support of Nested shapes in Visual Studio 2008 SP1</a>). The sample should follow soon on CodeGallery.<hr size="1" align="left" width="25%">Jean-MarcWed, 03 Sep 2008 06:56:27 Z2008-09-03T06:56:27Zhttp://social.msdn.microsoft.com/Forums/en/vsx/thread/c4aab157-2f67-4d45-bb62-dc14c9df045a#796466bd-6c0f-4527-a378-57035a3de71ahttp://social.msdn.microsoft.com/Forums/en/vsx/thread/c4aab157-2f67-4d45-bb62-dc14c9df045a#796466bd-6c0f-4527-a378-57035a3de71aPeteGoohttp://social.msdn.microsoft.com/Profile/en-US/?user=PeteGooNested Shapes in SDK 1.1<div> Hi Jean-Marc,</div><div>Thanks for clarifying this. I have implemented nested shapes before in one of my DSL projects and implemented similar code. </div><div><br></div><div>To allow shapes to be re-parented by moving them from container to container I had to implement a lot of custom code.</div><div><br></div><div>Among the problems I found were Z-Order issues where the re-parenting of shapes caused the shapes to be hidden behind the new parent, this also happened in collapsing and expanding the container. It seemed that the Z-Order property was automagically generated from the order of the shapes in the child shapes collection and after trying and failing to control this I had to override the implementation of Z-Order.</div><div><br></div><div>In my opinion the issues outlined in your first post were not blocking, but the Z-Order bug was pretty irritating, more frustrating however was the amount of effort required to implement nested shapes. I guess that some of this stuff will get ironed out with the increased inhouse re-use of the dsl runtime for ms projects. I would like to say that I do truly believe that the DSL runtime and the tooling is a phenomenal achievement that has stood the test of time since VS 2005 with very little change and I'm glad to see people realizing is capability.</div><div><br></div><div>I will look forward to seeing the implementation of your 2nd post.</div><div><br></div><div>Thanks again,</div><div>Pete</div> Wed, 03 Sep 2008 10:00:41 Z2008-09-03T10:00:41Zhttp://social.msdn.microsoft.com/Forums/en/vsx/thread/c4aab157-2f67-4d45-bb62-dc14c9df045a#c15f5a3c-9e2b-41c8-a776-d65d1af0676chttp://social.msdn.microsoft.com/Forums/en/vsx/thread/c4aab157-2f67-4d45-bb62-dc14c9df045a#c15f5a3c-9e2b-41c8-a776-d65d1af0676cJean-Marc Prieurhttp://social.msdn.microsoft.com/Profile/en-US/?user=Jean-Marc%20PrieurNested Shapes in SDK 1.1 Thanks Pete for your nice feedback.<br><br>You are right, the Z-order problem was quite a nighmare implementing the 2nd proposition of the book. With the current implementation you'll be able to get rid of a lot of painful custom code.<br><br>I understand you are rather interested in the case when shapes can move outside of their parent. I'll write a second post as soon as I can.<br><hr size="1" align="left" width="25%">Jean-MarcWed, 03 Sep 2008 10:40:18 Z2008-09-03T10:40:18Z