| <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); # All on the same line to unclutter the user's desktop' |
| |
| #***************************************************************************** |
| # |
| # 20060929.php |
| # |
| # Author: Marcos Didonet Del Fabro |
| # Date: 2006-10-044 |
| # |
| # Description: Type your page comments here - these are not sent to the browser |
| # |
| # |
| #**************************************************************************** |
| |
| # |
| # Begin: page-specific settings. Change these. |
| $pageTitle = "AMW - 20060929 - Major change in the metamodel extensions"; |
| $pageKeywords = "AMW, release, atl, km3, binarie build"; |
| $pageAuthor = "Marcos Didonet Del Fabro"; |
| |
| # End: page-specific settings |
| # |
| |
| # Paste your HTML content between the EOHTML markers! |
| $html = <<<EOHTML |
| |
| <div id="midcolumn"> |
| <h1>$pageTitle</h1> |
| |
| <div class="homeitem3col"> |
| <h3>New commit (to be evaluated by the users) with an important change in the Model Weaver. </h3> |
| <p/> |
| The "subsets" keyword is now deprecated. It is no longer used in KM3 metamodel extensions. |
| This prevents from modifying the base syntax of KM3 metamodels. <p/> |
| From now the weaving metamodels are annotated with the following annotations: |
| |
| <ul class"midcolumn"> |
| |
| <li> |
| -- @subsets annotation before a reference : replaces the subsets keyword. |
| Example: |
| <pre> |
| class Model extends WModel { |
| |
| -- @subsets wovenModel |
| reference leftModel container : WModelRef; |
| |
| } |
| |
| class Link extends WLink { |
| |
| -- @subsets end |
| reference left container : WLinkEnd; |
| |
| } |
| |
| </pre> |
| |
| </li> |
| <li> |
| -- @welementRefType annotation replaces the "subsets" of ownedElementRef references, |
| because KM3 does not support more than one reference with the same name in a Class hierarchy.<br/> |
| This way the WElementRef that is related to a given WModelRef is explicility specified. |
| <pre> |
| -- @welementRefType ElementRefXMI |
| class ModelRefXMI extends WModelRef { |
| } |
| </pre> |
| </li> |
| <li> |
| -- @wmodelRefType is the opposite of -- @welementRefType. |
| <pre> |
| -- @wmodelRefType ModelRef |
| class ElementRefXMI extends WElementRef{ |
| } |
| </pre> |
| </li> |
| </ul> |
| <p/> |
| <b>Note:</b> The previous weaving metamodels are still compatible with this version. |
| However, some visualisation and export facilities are limited. |
| |
| </div> |
| |
| </div> |
| |
| EOHTML; |
| |
| |
| # Generate the web page |
| $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); |
| ?> |