<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwizguide.com/rss_namespace/">
 <channel>
  <title>MetaEdit+ Forum</title>
  <link>http://www.metacase.com/forums/</link>
  <description>This is an XML content feed of; MetaEdit+ Forum : Last 10 Posts</description>
  <copyright>Copyright (c) 2006-2008 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 01 Aug 2010 06:13:48 +0000</pubDate>
  <lastBuildDate>Fri, 30 Jul 2010 13:13:43 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.08</generator>
  <ttl>30</ttl>
  <WebWizForums:feedURL>www.metacase.com/forums/RSS_topic_feed.asp</WebWizForums:feedURL>
  <image>
   <title>MetaEdit+ Forum</title>
   <url>http://www.metacase.com/forums//images/metacase_mid.png</url>
   <link>http://www.metacase.com/forums/</link>
  </image>
  <item>
   <title>MetaEdit+ : Subtype after Creation of Object Type</title>
   <link>http://www.metacase.com/forums/forum_posts.asp?TID=161&amp;PID=515#515</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.metacase.com/forums/member_profile.asp?PF=114" rel="nofollow">jfeuser</a><br /><strong>Subject:</strong> Subtype after Creation of Object Type<br /><strong>Posted:</strong> 30.Jul.2010 at 13:13<br /><br />Thank you, that was helpful.<br><br><br><br><br>]]>
   </description>
   <pubDate>Fri, 30 Jul 2010 13:13:43 +0000</pubDate>
   <guid isPermaLink="true">http://www.metacase.com/forums/forum_posts.asp?TID=161&amp;PID=515#515</guid>
  </item> 
  <item>
   <title>MetaEdit+ : Subtype after Creation of Object Type</title>
   <link>http://www.metacase.com/forums/forum_posts.asp?TID=161&amp;PID=514#514</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.metacase.com/forums/member_profile.asp?PF=8" rel="nofollow">jpt</a><br /><strong>Subject:</strong> Subtype after Creation of Object Type<br /><strong>Posted:</strong> 29.Jul.2010 at 16:52<br /><br /><P>Hi,</P><DIV><DIV style="MARGIN: 0cm 0cm 0pt">MetaEdit+ provides two ways for creating metamodels: form-based tools and graphical metamodeling. Form-based tools are the primary ones (see <a href="http://www.metacase.com/support/45/manuals/mwb/Mw-2.html#Heading233" target="_blank">http://www.metacase.com/support/45/manuals/mwb/Mw-2.html#Heading233</A>) emphasizing safety to guarantee that existing models open and work after the metamodel has changed. This comes with the limitation that you identified as form-based tools do not allow to change the supertype. </DIV><DIV style="MARGIN: 0cm 0cm 0pt">&nbsp;</DIV><DIV style="MARGIN: 0cm 0cm 0pt"></DIV><DIV style="MARGIN: 0cm 0cm 0pt">Graphical metamodeling (see <a href="http://www.metacase.com/support/45/manuals/Graphical%20Metamodeling.pdf" target="_blank">http://www.metacase.com/support/45/manuals/Graphical%20Metamodeling.pdf</A>) allows you to change the supertype (inheritance) but then you are in charge of considering the possible inconsistencies in your existing models. In your case consider for example that a binding constraint set for the supertype would then make some objects (of your current subtype) illegal. Should you delete those illegal ones, update them to another object type before the metamodel change or even change the constraints of the supertype first? </DIV><DIV style="MARGIN: 0cm 0cm 0pt">&nbsp;</DIV><DIV style="MARGIN: 0cm 0cm 0pt">If you have not used graphical metamodeling you may then use plain XML to do the metamodeling work: which is actually a third way for&nbsp;metamodeling. Also graphical metamodeling stores the metamodels in XML before they are imported into MetaEdit+, but you can also export your current metamodel into XML and modify the XML directly and then import it again to MetaEdit+. See see <a href="http://www.metacase.com/support/45/manuals/mwb/Mw-7.html#Heading1981" target="_blank">http://www.metacase.com/support/45/manuals/mwb/Mw-7.html#Heading1981</A> for details. </DIV><DIV style="MARGIN: 0cm 0cm 0pt">&nbsp;</DIV><DIV style="MARGIN: 0cm 0cm 0pt">However, if you don’t have models yet (like instances of your subtype), I personally would prefer creating a new subtype using the form-based tools and then simply reuse all the needed property types (add existing…), and copy the possible symbol definition and constraints given. This would be fastest way too since it takes less than a minute. You may then later hide or remove the unnecessary types or perhaps even use them later for some other purpose. </DIV><DIV style="MARGIN: 0cm 0cm 0pt">&nbsp;</DIV><DIV style="MARGIN: 0cm 0cm 0pt">I hope this helps.</DIV></DIV>]]>
   </description>
   <pubDate>Thu, 29 Jul 2010 16:52:23 +0000</pubDate>
   <guid isPermaLink="true">http://www.metacase.com/forums/forum_posts.asp?TID=161&amp;PID=514#514</guid>
  </item> 
  <item>
   <title>MetaEdit+ : Subtype after Creation of Object Type</title>
   <link>http://www.metacase.com/forums/forum_posts.asp?TID=161&amp;PID=513#513</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.metacase.com/forums/member_profile.asp?PF=114" rel="nofollow">jfeuser</a><br /><strong>Subject:</strong> Subtype after Creation of Object Type<br /><strong>Posted:</strong> 29.Jul.2010 at 13:47<br /><br />Hi,<br><br>is there any possibility to make an existing object type (after its creation) a subtype of another one? <br>Or is sub-typing only possible at creation-time?<br>]]>
   </description>
   <pubDate>Thu, 29 Jul 2010 13:47:38 +0000</pubDate>
   <guid isPermaLink="true">http://www.metacase.com/forums/forum_posts.asp?TID=161&amp;PID=513#513</guid>
  </item> 
  <item>
   <title>MetaEdit+ : Using local name with Merl</title>
   <link>http://www.metacase.com/forums/forum_posts.asp?TID=156&amp;PID=507#507</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.metacase.com/forums/member_profile.asp?PF=3" rel="nofollow">stevek</a><br /><strong>Subject:</strong> Using local name with Merl<br /><strong>Posted:</strong> 26.Jul.2010 at 15:15<br /><br />Great! That's a nice combination of a meta-solution with pragmatism. <DIV>&nbsp;</DIV><DIV>Pragmatism is definitely needed when working with XML.&nbsp;It looks simple, but actually the full rules are a nightmare, so&nbsp;trying to write code on day 1 that fulfills all the rules is a lost cause. E.g. how many remember that the name of an attribute cannot start with the letters "xml" in any combination of cases, but it can start with a colon?</DIV>]]>
   </description>
   <pubDate>Mon, 26 Jul 2010 15:15:16 +0000</pubDate>
   <guid isPermaLink="true">http://www.metacase.com/forums/forum_posts.asp?TID=156&amp;PID=507#507</guid>
  </item> 
  <item>
   <title>MetaEdit+ : Using local name with Merl</title>
   <link>http://www.metacase.com/forums/forum_posts.asp?TID=156&amp;PID=506#506</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.metacase.com/forums/member_profile.asp?PF=109" rel="nofollow">MerlUser</a><br /><strong>Subject:</strong> Using local name with Merl<br /><strong>Posted:</strong> 26.Jul.2010 at 14:59<br /><br />The last example you give is not the best solution, but it works for my problem.<br><br>Now I changed the most type names of the properties to the local name. Only in cases where are more than one properties with the same type, I add extra code like this:<br><br><font face="Courier New, Courier, mono">do :() {<br>&nbsp;&nbsp; if type&lt;&gt;'exceptionType' then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' ' <font color="#ff0000">type</font>%var '="' id%xml '"'<br>&nbsp;&nbsp; endif<br>}<br></font><font face="Courier New, Courier, mono">' </font><font face="Courier New, Courier, mono">exceptionOne="' </font><font face="Courier New, Courier, mono">:</font><font face="Courier New,   Courier, mono">exceptionOne</font><font face="Courier New, Courier, mono">%xml '"'<br></font><font face="Courier New, Courier, mono">' </font><font face="Courier   New, Courier, mono">exceptionTwo="' </font><font face="Courier New,   Courier, mono">:</font><font face="Courier New,   Courier, mono">exceptionTwo</font><font face="Courier New, Courier,   mono">%xml '"'</font><br>]]>
   </description>
   <pubDate>Mon, 26 Jul 2010 14:59:23 +0000</pubDate>
   <guid isPermaLink="true">http://www.metacase.com/forums/forum_posts.asp?TID=156&amp;PID=506#506</guid>
  </item> 
  <item>
   <title>MetaEdit+ : Code Generator Tutorials</title>
   <link>http://www.metacase.com/forums/forum_posts.asp?TID=160&amp;PID=505#505</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.metacase.com/forums/member_profile.asp?PF=110" rel="nofollow">mpierce</a><br /><strong>Subject:</strong> Code Generator Tutorials<br /><strong>Posted:</strong> 22.Jul.2010 at 21:08<br /><br />Many Thanks Steve! I did start doing some coding, mimicking some of the examples, and now I'm starting to get it. I've also got the book so I'll delve into that too. I'm having a blast with this stuff, probably the most fun I've had doing design in 15 years! :)<DIV></DIV><DIV>&nbsp;</DIV><DIV>Best regards,</DIV><DIV>&nbsp;</DIV><DIV>Matt</DIV>]]>
   </description>
   <pubDate>Thu, 22 Jul 2010 21:08:25 +0000</pubDate>
   <guid isPermaLink="true">http://www.metacase.com/forums/forum_posts.asp?TID=160&amp;PID=505#505</guid>
  </item> 
  <item>
   <title>MetaEdit+ : Using local name with Merl</title>
   <link>http://www.metacase.com/forums/forum_posts.asp?TID=156&amp;PID=504#504</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.metacase.com/forums/member_profile.asp?PF=3" rel="nofollow">stevek</a><br /><strong>Subject:</strong> Using local name with Merl<br /><strong>Posted:</strong> 22.Jul.2010 at 14:52<br /><br />It actually wouldn't be trivial to add local name: inside do :(), the elements we are iterating over are properties. A property doesn't know its local name, because the same property can be shared between several objects, maybe of different types or in different slots, each with its own local name. <DIV>&nbsp;</DIV><DIV>While we can work around that, adding "localName" opens up a large number of other new commands that would then be needed, e.g. to find the datatype of the property type to know whether to recurse again with do :() over a contained object or collection; to find the supertype of the current type; to&nbsp;find the kind of List widget a property type uses and its legal values&nbsp;etc. Essentially, MERL is a language for navigating models, and doesn't have commands to navigate metamodels. Adding those commands would increase the size of MERL by at least 50% - and the topic next to yours in the forum shows that some people already need to take a big breath before getting started.</DIV><DIV>&nbsp;</DIV><DIV>Of course, we recognise the desire to write meta-programs in MERL, and indeed we use that freely in some areas (e.g. subreport '_' type run). While there is a&nbsp;little duplication involved in writing local names explicitly in generators, as well as in the metamodel, that's only for one person - the metamodeler - and not for all the modelers. Unless you have hundreds of types with dozens of properties each, that shouldn't be too bad.</DIV><DIV>&nbsp;</DIV><DIV>BTW Maybe one solution for you, if all you need is uniqueness of attribute names, would be to add a number to the end of the name:</DIV><DIV>&nbsp;</DIV><DIV>$ix='0'</DIV><DIV>do :() { ... type%var $++ix ...}</DIV>]]>
   </description>
   <pubDate>Thu, 22 Jul 2010 14:52:23 +0000</pubDate>
   <guid isPermaLink="true">http://www.metacase.com/forums/forum_posts.asp?TID=156&amp;PID=504#504</guid>
  </item> 
  <item>
   <title>MetaEdit+ : Code Generator Tutorials</title>
   <link>http://www.metacase.com/forums/forum_posts.asp?TID=160&amp;PID=503#503</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.metacase.com/forums/member_profile.asp?PF=3" rel="nofollow">stevek</a><br /><strong>Subject:</strong> Code Generator Tutorials<br /><strong>Posted:</strong> 22.Jul.2010 at 14:20<br /><br /><P>Hi Mathew,</P><P>The manuals contain about 70 pages on generators, with the main content being in <a href="http://www.metacase.com/support/45/manuals/mwb/Mw-5.html" target="_blank">Workbench Chapter 5: Generators</A>. The <a href="http://www.metacase.com/support/45/manuals/watchtut/we-Preface_.html" target="_blank">Watch</A> and <a href="http://www.metacase.com/support/45/manuals/S60%20Ph&#111;ne%20Example.pdf" target="_blank">S60 Mobile Phone</A> examples add some more: you can read and work through those links, and at the same time in the demo repository in MetaEdit+ you can see the models, metamodels, generators and output, and step through the generators with the <a href="http://www.metacase.com/support/45/manuals/mwb/Mw-5_2.html" target="_blank">debugger</A>.</P><DIV>If you've read the manuals and walked through the examples, getting your hands dirty is probably the best way to proceed. Do a quick recap of <a href="http://www.metacase.com/support/45/manuals/mwb/Mw-5_3_1.html" target="_blank">5.3.1 Getting started with MERL</A>, and dive in to some relatively simple part of what you need to generate, e.g. the top-level structure.</DIV><DIV>&nbsp;</DIV><DIV>Once you have more than a few dozen lines of MERL, you'll want to think about how best to structure your generators. A page of brief advice is in <FONT color=#000000><a href="http://www.metacase.com/support/45/manuals/mwb/Mw-5_1_2.html" target="_blank">5.1.2 Building non-trivial generators</A>. </FONT><FONT color=#000000>The <a href="http://dsmbook.com/" target="_blank">DSM book</A>&nbsp;would also be useful, with over 70 pages on generators covering theory, practice, and in-depth examples. </FONT></DIV><DIV>&nbsp;</DIV><DIV>Of course, feel free to post here if you get stuck!</DIV>]]>
   </description>
   <pubDate>Thu, 22 Jul 2010 14:20:17 +0000</pubDate>
   <guid isPermaLink="true">http://www.metacase.com/forums/forum_posts.asp?TID=160&amp;PID=503#503</guid>
  </item> 
  <item>
   <title>MetaEdit+ : Code Generator Tutorials</title>
   <link>http://www.metacase.com/forums/forum_posts.asp?TID=160&amp;PID=502#502</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.metacase.com/forums/member_profile.asp?PF=110" rel="nofollow">mpierce</a><br /><strong>Subject:</strong> Code Generator Tutorials<br /><strong>Posted:</strong> 22.Jul.2010 at 03:26<br /><br />Greetings,<DIV>&nbsp;</DIV><DIV>I'm definitely a noob when it&nbsp; comes to domain specific modeling and languages. I'm currently designing a DSML for designing simple programs for an educational concurrent virtual machine (very limited capabilities so not a lot of features to the language) and I'm now at the stage where I need to create the code generators. </DIV><DIV>&nbsp;</DIV><DIV>I've read the documentation on MERL and am looking for more, if there is any. I'll start hammering away at it, but I'm hoping there are some more explanations/tutorials in addition to the online manuals.</DIV><DIV>&nbsp;</DIV><DIV>Thanks and best regards,</DIV><DIV>&nbsp;</DIV><DIV>Mathew Pierce</DIV>]]>
   </description>
   <pubDate>Thu, 22 Jul 2010 03:26:27 +0000</pubDate>
   <guid isPermaLink="true">http://www.metacase.com/forums/forum_posts.asp?TID=160&amp;PID=502#502</guid>
  </item> 
  <item>
   <title>MetaEdit+ : Uninstall licence?</title>
   <link>http://www.metacase.com/forums/forum_posts.asp?TID=159&amp;PID=501#501</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.metacase.com/forums/member_profile.asp?PF=7" rel="nofollow">janne</a><br /><strong>Subject:</strong> Uninstall licence?<br /><strong>Posted:</strong> 20.Jul.2010 at 10:03<br /><br />Hi Chris,<br><br>Each hardware fingerprint is based on information about the components of that PC, including its CPU, hard drive and network card. Changing one of these components, or adding a second component of that type, can change the hardware fingerprint. <br><br>Before doing this, a user should thus uninstall his MetaEdit+ key. If he does not, and the hardware update changes the fingerprint sufficiently, he will be unable to start MetaEdit+, and unable to uninstall his key – a key can only be uninstalled from a PC on which it is valid. <br><br>Please send your license details (license number and a short problem description) to: info@metacase.com, and your license can be freed manually by the MetaCase]]>
   </description>
   <pubDate>Tue, 20 Jul 2010 10:03:24 +0000</pubDate>
   <guid isPermaLink="true">http://www.metacase.com/forums/forum_posts.asp?TID=159&amp;PID=501#501</guid>
  </item> 
 </channel>
</rss>