|
|
(39 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | {{MoDiscoJavaCompositionTabs}}
| + | #REDIRECT [[MoDisco/Moved To Help Center]] |
− | | + | |
− | == 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
| + | |
− | [http://wiki.eclipse.org/MoDisco/Components/KDMSourceExtension/Documentation/0.9 kdm.source extension framework]. | + | |
− | | + | |
− | Such a metamodel allows to link java nodes to their physical position in the source files (''JavaNodeSourceRegion'' metaclass owning ''startLine'' ''endLine'' properties).
| + | |
− | | + | |
− | As proposed in [http://wiki.eclipse.org/MoDisco/Components/KDMSourceExtension/Documentation/0.9 kdm.source extension framework], the reference ''JavaASTNodeSourceRegion.javaNode'' derived from ''ASTNodeSourceRegion.node''. So as the ''Java2File.javaUnit'' from ''CodeUnit2File.unit''.
| + | |
− | | + | |
− | [[Image:JavaApplicationMetaModel.png|frame|center|JavaApplication Metamodel]]
| + | |
− | | + | |
− | Note : the references ''java2DirectoryChildren'' and ''java2FileChildren'' are expected to be containment references. For some technical reasons (memory usage tuning via lazy loading), they are not containment to 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|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/ https://dev.eclipse.org/svnroot/modeling/org.eclipse.mdt.modisco/plugins/trunk/org.eclipse.modisco.java.composition/]
| + | |
− | | + | |
− | ==Java Composition Discoverer==
| + | |
− | | + | |
− | === Description ===
| + | |
− | | + | |
− | Javakdmdiscovery.JPG
| + | |
− | | + | |
− | [[Image:Javakdmdiscovery.JPG|frame|center|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|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/ https://dev.eclipse.org/svnroot/modeling/org.eclipse.mdt.modisco/plugins/trunk/org.eclipse.modisco.java.composition.discoverer/]
| + | |