| <?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' | |
| #***************************************************************************** | |
| # | |
| # template.php | |
| # | |
| # Author: Freddy Allilaire | |
| # Date: 2005-12-05 | |
| # | |
| # Description: Type your page comments here - these are not sent to the browser | |
| # | |
| # | |
| #**************************************************************************** | |
| # | |
| # Begin: page-specific settings. Change these. | |
| $pageTitle = "Key to Nested Example"; | |
| $pageKeywords = ""; | |
| $pageAuthor = "Freddy Allilaire"; | |
| # Paste your HTML content between the EOHTML markers! | |
| $html = <<<EOHTML | |
| <!-- Main part --> | |
| <div id="midcolumn"> | |
| <table width="100%"> | |
| <tr> | |
| <td width="50%"> | |
| <h1>$pageTitle</h1> | |
| </td> | |
| </tr> | |
| </table> | |
| <p> | |
| This example contains an extension of the core weaving metamodel to create correspondences | |
| between a metamodel with foreign key relationships (as in a relational database) to a | |
| metamodel that contains nested structures (as in XML). | |
| </p> | |
| <h4>Instructions</h4> | |
| The weaving model (FK2NestedAMW.ecore) must be loaded using the wizard to be able to | |
| create the metadata file in the workspace.</br> | |
| Left metamodel: FKMetaSchema.ecore.</br> | |
| Right metamodel: NestedMetaSchema.ecore. | |
| </br> | |
| </div> | |
| EOHTML; | |
| # Generate the web page | |
| $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); | |
| ?> |