Difference between revisions of "MoDisco/New And Noteworthy"

From Eclipsepedia

Jump to: navigation, search
(Allow navigating from a model element to the corresponding source code)
(JEE Models Discovery)
 
(2 intermediate revisions by one user not shown)
Line 32: Line 32:
 
See [[MoDisco/Components/KDMSourceExtension#Overview |KDM.Source extension framework]]
 
See [[MoDisco/Components/KDMSourceExtension#Overview |KDM.Source extension framework]]
  
==== Model Browser Improvement ====
+
==== Improve Model Browser ====
  
 
The browser now does more operations in the background, so that you can continue to interact with the UI while it is loading model elements or computing queries, customizations or facets.
 
The browser now does more operations in the background, so that you can continue to interact with the UI while it is loading model elements or computing queries, customizations or facets.
Line 40: Line 40:
 
=== Technologies  ===
 
=== Technologies  ===
  
==== Java Model Discovery Improvement ====
+
==== Improve Java Model Discovery ====
  
 
See [[MoDisco/Components/Java/New_And_Noteworthy#0.9|Java Discoverer New & Noteworthy]]
 
See [[MoDisco/Components/Java/New_And_Noteworthy#0.9|Java Discoverer New & Noteworthy]]
  
==== JEE Models Discovery ====
+
==== Discover Models from JEE legacy ====
  
 
The MDT MoDisco project will provide a set of Java Platform Enterprise Edition (JEE) technology-specific components.
 
The MDT MoDisco project will provide a set of Java Platform Enterprise Edition (JEE) technology-specific components.

Latest revision as of 09:06, 2 May 2011

Contents

[edit] MoDisco 0.9 (Indigo version)

The list of MoDisco 0.9 features is available here.

[edit] Infrastructure

[edit] Facilitate Development, Reuse and Usability of Discoverers

The discoverer framework has been refactored to satisfy new requirements, including major simplifications for adopters and developers: discoverers are now easier to define and call programmatically.

All existing discoverer implementations have been migrated to this new framework, and old discoverer implementations have been deprecated.

  • All discoverers now use a generic parameters launching dialog:

MoDisco LaunchingDiscovery Parameters.png

  • A new Discoverers view shows all registered discoverers:

MoDisco DiscoverersView.png

  • There is now a Wizard to create and register a new Discoverer implementation:

MoDisco New MoDisco Discoverer.png

See Discovery Framework documentation

[edit] Allow navigating from a model element to the corresponding source code

MoDisco proposes a new lightweight framework for building weaving information between code models (Java, C++, ...) and physical resources (disk files and directories). Such a weaving information is convenient for client programs in order to access physical files.

For example, the MoDisco Browser may use this information for displaying original code portions associated to Java model elements.

This plug-in is an infrastructure component and it does not provide features to the MoDisco end-user. Only the contributor and adopter communities are concerned by this plug-in.

See KDM.Source extension framework

[edit] Improve Model Browser

The browser now does more operations in the background, so that you can continue to interact with the UI while it is loading model elements or computing queries, customizations or facets.

See Model Browser.

[edit] Technologies

[edit] Improve Java Model Discovery

See Java Discoverer New & Noteworthy

[edit] Discover Models from JEE legacy

The MDT MoDisco project will provide a set of Java Platform Enterprise Edition (JEE) technology-specific components.

  • a metamodel and discoverer for JSP technology.
  • a framework to develop project deployment descriptor discoverers.
  • a complete discoverer for the web.xml files (multiple versions).
  • a complete discoverer for the ejb-jar.xml files (multiple versions).
  • a set of queries and facets for getting a JEE point of view when browsing Java models.

[edit] Allow navigating from a Java model element to its source code

On a model discovered with the Discoverer named Discover Java and Inventory Model from Java Project, you can now browse from a model element to its source code:

Browse Code in Text Editor

The corresponding code is then highlighted in a source editor:

Corresponding code

This feature relies on new KDM.Source extension framework

You can also activate Synchronize with source code. Then, when you double click on a model element, the corresponding code is highlighted.

[edit] MoDisco 0.8 (Helios version)

[edit] Infrastructure

[edit] Model Browser

The new version provides:

  • A new look&feel
  • The possibility to dynamically customize how the model elements are displayed (label, color, icon, police, ...)
  • The support of the Facet extension mechanism (the virtual types, attributes and relations are visible within the browser).
  • The possibility to execute a Query against model elements

See Model Browser 0.8 New & Noteworthy

[edit] Discovery Manager

See Discovery Manager 0.8 New & Noteworthy

[edit] Discovery Workflow

See Discovery Workflow 0.8 New & Noteworthy

[edit] Query Manager (new)

This new component provides a facade to evaluate queries against a model independently from the query mechanism. Implementations are provided to call queries written in Java, EMFQuery, OCL and XPath.

See Query Manager 0.8 Documentation

[edit] Facet Manager (new)

This new component provides a mechanism to dynamically extend model elements by adding "virtual" attributes and relations computed by queries.

See Facet Manager 0.8 Documentation

[edit] Technologies

[edit] Java

This new version provides :

  • A generator to regenerate source code from the EMF model.
  • A "filter" field in the Discoverer's wizard to exclude packages from the source code analysis

See Java 0.8 New & Noteworthy

[edit] XML (new)

This new component provides an ECore definition of XML files and a discoverer to create corresponding EMF models from existing XML files.

See XML 0.8 Documentation