Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "MoDisco/New And Noteworthy"
(→JEE Models Discovery) |
(→Allow navigating from a Java model element to its source code) |
||
Line 62: | Line 62: | ||
[[Image:MoDisco_BrowseInTextEditor_SourceCode.png|frame|center|Corresponding code]] | [[Image:MoDisco_BrowseInTextEditor_SourceCode.png|frame|center|Corresponding code]] | ||
− | + | This feature relies on new [[MoDisco/Components/KDMSourceExtension#Overview |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) == | == MoDisco 0.8 (Helios version) == |
Revision as of 08:12, 2 May 2011
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
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.
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
Model Browser Improvement
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
Refactoring Discovery : Existing discoverers based on new framework
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 Java Discoverer
Java Model Discovery improvment
See Java Discoverer New & Noteworthy
JEE Models Discovery
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.