MoDisco/New And Noteworthy
Contents
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:
- A new Discoverers view shows all registered discoverers:
- There is now a Wizard to create and register a new Discoverer implementation:
See Discovery Framework documentation
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.
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:
The corresponding code is then highlighted in a source editor:
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
XML (new)
This new component provides an ECore definition of XML files and a discoverer to create corresponding EMF models from existing XML files.