Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "MoDisco/New And Noteworthy"

(JEE Models Discovery)
(JEE Models Discovery)
 
(7 intermediate revisions by one other user not shown)
Line 5: Line 5:
 
=== Infrastructure  ===
 
=== Infrastructure  ===
  
==== Facilitate development, reuse and usability of Discoverers ====
+
==== 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.
 
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.
Line 24: Line 24:
 
==== Allow navigating from a model element to the corresponding source code ====
 
==== Allow navigating from a model element to the corresponding source code ====
  
This new component proposes a small 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.  
+
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/Components/ModelBrowser|MoDisco Browser]] may use this information for displaying original code portions associated to [[MoDisco/Components/Java |Java model]] elements.
 
For example, the [[MoDisco/Components/ModelBrowser|MoDisco Browser]] may use this information for displaying original code portions associated to [[MoDisco/Components/Java |Java model]] elements.
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  ===
  
==== Refactoring Discovery : Existing discoverers based on new framework ====
+
==== Improve Java Model Discovery ====
 
+
All existing discoverer implementations have been migrated to the new discovery framework, and old discoverer implementations have been deprecated.
+
 
+
e.g. the Java discoverer API & UIs have evolved, see [[MoDisco/Components/Java/Documentation/0.9#Java_Discoverer|Java Discoverer]]
+
 
+
==== Java Model Discovery improvment ====
+
  
 
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

MoDisco 0.9 (Indigo version)

The list of MoDisco 0.9 features is available here.

Infrastructure

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

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

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.

Technologies

Improve Java Model Discovery

See Java Discoverer New & Noteworthy

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.

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.

MoDisco 0.8 (Helios version)

Infrastructure

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

Discovery Manager

See Discovery Manager 0.8 New & Noteworthy

Discovery Workflow

See Discovery Workflow 0.8 New & Noteworthy

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

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

Technologies

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

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

Back to the top