blob: d21edac96118fb67091ce89a5c3400e8fecb7f19 [file] [log] [blame]
<?php
/*******************************************************************************
* Copyright (c) 2009, 2016 Eclipse Foundation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Eclipse Foundation - Initial version
* Anthony Hunter - changes for EMF Validation
********************************************************************************/
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();
require_once('_projectCommon.php');
$pageTitle = "Eclipse EMF Validation";
$pageKeywords = "Eclipse, Modeling, Framework, EMF, Validation, Project";
$pageAuthor = "Anthony Hunter";
# Initialize custom solstice $variables.
$variables = array();
# Add classes to <body>. (String)
$variables['body_classes'] = '';
# Insert custom HTML in the breadcrumb region. (String)
$variables['breadcrumbs_html'] = "";
# Hide the breadcrumbs. (Bool)
$variables['hide_breadcrumbs'] = FALSE;
# Insert HTML before the left nav. (String)
$variables['leftnav_html'] = '';
# Update the main container class (String)
$variables['main_container_classes'] = 'container';
# Insert HTML after opening the main content container, before the left sidebar. (String)
$variables['main_container_html'] = '';
# Insert header navigation for project websites.
$links = array();
$links[] = array(
'icon' => 'fa-download', // Required
'url' => 'downloads.php', // Required
'title' => 'Download', // Required
'text' => 'Update Sites, P2 Repositories, SDK downloads, Nightly Builds, Translations' // Optional
);
$links[] = array(
'icon' => 'fa-users', // Required
'url' => 'getting_involved.php', // Required
'title' => 'Geting Involved', // Required
'text' => 'Git, Contributor Mailing List, Wiki, Committers' // Optional
);
$links[] = array(
'icon' => 'fa-book', // Required
'url' => 'documentation.php', // Required
'title' => 'Documentation', // Required
'text' => 'Online Reference, EMF Wiki' // Optional
);
$links[] = array(
'icon' => 'fa-support', // Required
'url' => 'support.php', // Required
'title' => 'Support', // Required
'text' => 'EMF Query FAQ, Forum, Newsgroup, Bugzilla' // Optional
);
$variables['header_nav'] = array(
'links' => $links, // Required
'logo' => array( // Required
'src' => 'images/backgroundMain.png', // Required
'alt' => 'EMF Query', // Optional
'url' => 'http://www.eclipse.org/emf-query', // Optional
),
);
// CFA Link - Big orange button in header
$variables['btn_cfa'] = array(
'hide' => FALSE, // Optional - Hide the CFA button.
'html' => '', // Optional - Replace CFA html and insert custom HTML.
'class' => 'btn btn-huge btn-warning', // Optional - Replace class on CFA link.
'href' => '//www.eclipse.org/downloads/', // Optional - Replace href on CFA link.
'text' => '<i class="fa fa-download"></i> Download' // Optional - Replace text of CFA link.
);
# Set Solstice theme variables. (Array)
$App->setThemeVariables($variables);
// # Paste your HTML content between the EOHTML markers!
$html = <<<EOHTML
<div id="midcolumn">
<h3>Eclipse Modeling Framework (EMF) Model Validation</h3>
<div id="introText">
<p>EMF model validation provides the following capabilities:</p>
<ol>
<li>Constraint Definition - Provides API for defining constraints for any EMF meta-model (batch and live constraints).</li>
<li>Customizable model traversal algorithms - Extensibility API to support meta-models that require custom strategies for model traversal.</li>
<li>Constraint parsing for languages - Provides support for parsing the content of constraint elements defined in specific languages. The validation framework provides support for two languages: Java and OCL.</li>
<li>Configurable constraint bindings to application contexts - API support to define "client contexts" that describe the objects that need to be validated and to bind them to constraints that need to be enforced on these objects.</li>
<li>Validation listeners - Support for listening to validation events.</li>
</ol>
</div>
</div>
<div id="rightcolumn">
<div class="sideitem">
<h2>Current Status</h2>
<p>Development is underway for the proposed EMF Validation 1.11.0 release for Eclipse Oxygen, due June 2017.</p>
</div>
<div class="sideitem">
<h2>EMF Validation 1.10.0 Now Available</h2>
<p><i>June 22, 2016 -</i> EMF Validation 1.10.0 for Eclipse Neon has been released. Check the <a href="downloads.php">Download</a> page.</p>
</div>
</div>
EOHTML;
# Generate the web page
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
?>