Skip to main content
Jump to: navigation, search

Difference between revisions of "MoDisco/Components/Java/Composition/Documentation/0.9"

(Description)
(Description)
Line 4: Line 4:
  
 
=== Description ===
 
=== Description ===
This metamodel aims at weaving a MoDisco Java Model with a MoDisco KDM Source one.
+
This metamodel ''JavaApplication'' aims at weaving a MoDisco Java Model with a MoDisco KDM Inventory Model. It relies on the core metamodel described in the
 +
[http://wiki.eclipse.org/MoDisco/Components/KDMSourceExtension/Documentation/0.9 kdm.source extension framework].
  
The Java Composition Discoverer uses this metamodel to create liaison between model elements.
+
Such a metamodel allows to link java nodes to their physical position in the source files (''JavaNodeSourceRegion'' metaclass).
  
In addition to that, some weaving is done to link java nodes to their physical position in the analysed code. Those elements are stored in the JavaNodeSourceRegion.
+
[[Image:JavaApplicationMetaModel.png|frame|center|JavaApplication Metamodel]]
  
References java2DirectoryChildren and java2FileChildren should be containment references, but then browsers load all the resources instead of performing lazy loading (see section Benchmark below). This is due to the use of getAllContent() method which retrieve external references.
+
Note : the references ''java2DirectoryChildren'' and ''java2FileChildren'' are expected to be containment references. For some technical reasons (memory usage tuning), we make sure that the ''Java2Directory'', ''Java2File'' and ''JavaNodeSourceRegion'' instances are managed in their own graph compared with ''JavaApplication'' instances.
 
+
[[Image:JavaApplicationMetaModel.png|frame|center|JavaApplication MetaModel]]
+
  
 
=== Requirements  ===
 
=== Requirements  ===

Revision as of 12:26, 19 August 2010

DEPRECATED use Template:MoDiscoTabs and Template:MoDiscoTab as explain here : Wiki Template for MoDisco

Java Composition Metamodel

Description

This metamodel JavaApplication aims at weaving a MoDisco Java Model with a MoDisco KDM Inventory Model. It relies on the core metamodel described in the kdm.source extension framework.

Such a metamodel allows to link java nodes to their physical position in the source files (JavaNodeSourceRegion metaclass).

JavaApplication Metamodel

Note : the references java2DirectoryChildren and java2FileChildren are expected to be containment references. For some technical reasons (memory usage tuning), we make sure that the Java2Directory, Java2File and JavaNodeSourceRegion instances are managed in their own graph compared with JavaApplication instances.

Requirements

To use the plug-in you need:

  • JDK 1.5 or above
  • a version of Eclipse 3.6 or above with the following set of plug-ins installed
  • EMF 2.5.0 or higher

Source Repository

All of the source code is stored in a public source repository, which you can access at:

https://dev.eclipse.org/svnroot/modeling/org.eclipse.mdt.modisco/plugins/trunk/org.eclipse.modisco.java.composition/

Java Composition Discoverer

Description

Javakdmdiscovery.JPG

Java and kdm inventory discovery

Requirements

To use the plug-in you need:

  • JDK 1.5 or above
  • a version of Eclipse 3.6 or above with the following set of plug-ins installed
  • EMF 2.5.0 or higher

Source Repository

All of the source code is stored in a public source repository, which you can access at:

https://dev.eclipse.org/svnroot/modeling/org.eclipse.mdt.modisco/plugins/trunk/org.eclipse.modisco.java.composition.discoverer/

Back to the top