blob: 771a93d0e91b639557531dabc858644ee42b2634 [file] [log] [blame]
<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/"); require_once($_SERVER['DOCUMENT_ROOT'] . "/"); require_once($_SERVER['DOCUMENT_ROOT'] . "/"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); # All on the same line to unclutter the user's desktop'
$pageTitle = "EMF Index";
$pageKeywords = "EMF,Modeling,Index";
$pageAuthor = "Jan K&ouml;hnlein";
<div id="maincontent">
<div id="midcolumn">
<h1>EMF Index</h1>
include_once($_SERVER['DOCUMENT_ROOT'] . "/projects/fragments/proposal-page-header.php");
generate_header("EMF Index");
<p>EMF Index is a proposed open source project under the <a HREF="/modeling/emft/">Eclipse
Modeling Framework Technology Project</a> (EMFT).</p>
<p>This proposal is in the Project Proposal Phase (as defined in the
<a HREF="/projects/dev_process/">Eclipse Development Process
document</a>) and is written to declare its intent and scope. This
proposal is written to solicit additional participation and input
from the Eclipse community. You are invited to comment on and/or join
the project. Please send all feedback to the
<a HREF=""></a>
<p>Many development tools maintain an index on the processed
artifacts to allow fast and scalable queries for elements that match
certain criteria. In the Java Development Toolkit (JDT) for example,
the internal Java models are indexed to quickly find calls of a
method, navigate to the declaration of a field or find all subclasses
of a given class. It also allows to find classes whose names match a
wildcard pattern.</p>
<p>EMF Index will provide an index for modeling tools based on the
Eclipse Modeling Framework (EMF). That index will automatically
collect and synchronize index data on Ecore models and instances. It
will allow fast queries without the need to have EMF resources
instantiated in memory, thereby enabling scalable modeling tools
based on EMF.</p>
<p>The objectives of the EMF Index project are the following:
<li>Define APIs and implement
components for specifying search scopes, collecting and persisting
index data, synchronization of index data with model changes, and
querying of model elements.
<li>Increase the usability of
EMF-based modeling tools by providing a JDT-like user interface for
following references, finding elements by type and querying scoped
elements. This can also be the foundation of model refactoring
<li>Increase the scalability of
modeling tools by enabling queries on models that are not loaded.
This will allow the processing of bigger models and a greater number
of model resources. It will also help to deal with temporarily
unavailable models, e.g. resources fetched from the network.
<li>Integrate with other Eclipse components, e.g. the searching
<li>Provide a platform to collect and discuss requirements and
use cases for model indexing.
<p>EMF Index will not cover these issues:
<li>Deal with models not based on EMF.</li>
<li>Implement a model repository. Only specific, pre-selected
properties of model elements should be stored in the index.
<p>EMF Index will have to define APIs and provide implementations for
the following functionality:
<dt>Index scope
EMF follows an open-world paradigm, i.e. it is possible to load
every resource that is accessible, locally or from the network.
While that is fine for on-demand loading of referenced elements, a
search operation needs a confined scope. Clients must have a way
define the scope of indexed elements, e.g. as the resources in
their workspace.
Collection of index data
Retrieve index data from a given EMF resource. The index data will
consist of generic data, e.g. the type of an element, as well as
model-specific data, e.g. a collection of attributes that constitute
a fully-qualified name. Any model-specific data can be stored in the
index. There will be a way to specify which data will be retrieved
from the EMF model. This also includes the definition of
model-specific scopes for queries.
Store the collected index data independently from the indexed
resources in such a way that it can be queried easily later.</dd><dt>
Synchronization of index data
Whenever it is possible, detect model changes and update the model
index automatically.
Queries should consist of a set of criteria and a query scope. The
results of a query must be descriptors (e.g. EMF proxies or fragment
URIs) of model elements rather than the elements themselves, such
that the client decides whether to load them or not. The descriptors
can carry any additional information on the element available in the
Exchangeable storage backend
The backend to actually store the index data will be exchangeable,
allowing customized implementations for specific storage technologies,
such as pure in-memory or database storage of index data.
Relationship with other Eclipse Projects</h3>
<li>EMF Index will be built on top of EMF.</li>
<li>As EMF Index will be generic, it will be usable by any
EMF-based framework, not depending on the specific concrete syntax.
<li>TMF/Xtext is expected to make
strong use of EMF Index. As models are described textually in Xtext,
a common problem is to resolve/find a model element by some
domain-specific textual description. An index taking these
descriptions into account will be a great benefit.
<li>EMF Index will make contributions to Eclipse search.
<li>Ed Merks (Macro Modeling, Canada)</li>
<li>Sven Efftinge (itemis AG, Germany)</li>
<h3>Proposed initial committers</h3>
<li>Jan K&ouml;hnlein (itemis AG, Germany), lead </li>
<li>Sven Efftinge (itemis AG, Germany)</li>
<li>Dennis H&uuml;bner (itemis AG, Germany), release engineering</li>
<li>Bernd Kolb (Independent, Germany)</li>
<li>Jos Warmer (Ordina, Netherlands)</li>
<h3>Interested parties</h3>
<p>The need for a model index has been discussed in the Modeling
Symposium at the Eclipse Summit Europe 2009.
<p>Parties indicating interest were
<li>Macro Modeling (Canada), Ed Merks</li>
<li>Geensys (France), Stephan Eberle</li>
<li>paranor (Switzerland), Knut Wannheden</li>
<li>SAP (Germany), Boris Gruschko</li>
<li>ikv++ (Germany), Matthias Erche</li>
<h3>Code contributions</h3>
<p>The initial code contribution will be a set of plug-ins from the
TMF/Xtext Eclipse project.
$html = ob_get_contents();
# Generate the web page
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);