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 "VIATRA/DeveloperDocumentation/VIATRA Viewers"
(→Development outline) |
|||
Line 30: | Line 30: | ||
*** (temporary solution: activate annotated patterns within the same resource from a menu item in the Query Registry) | *** (temporary solution: activate annotated patterns within the same resource from a menu item in the Query Registry) | ||
*** Load model (currently contributed to model editors) should be moved to the Query Explorer<br> | *** Load model (currently contributed to model editors) should be moved to the Query Explorer<br> | ||
+ | [[Category:EmfIncQuery]] |
Revision as of 11:51, 13 February 2013
IncQuery Viewers
IncQuery Viewers is an extension framework for EMF-IncQuery currently under development. The aim of IncQuery Viewers is to provide an easy-to-use, pattern annotation-based approach to support the live visualization of query results in JFace viewers (through content provides and data bindings). In addition to "core" JFace viewers (such as Lists and Trees), IncQuery Viewers will also support the Zest Graph Visualization framework. With IncQuery Viewers, developers will be able to rapidly create rich views for their EMF domain models.
Tracker bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=398827
Development outline
- Current state
- interpretative strategy
- build an intermediate ("view") model based on annotated patterns and an instance model, and pass this through a contentprovider
- supported viewers: Zest, List
- annotations
- @Item
- @Edge
- @ContainsItem
- model changes are propagated with incquery databinding
- temporary UI located at https://github.com/istvanrath/EMF-IncQuery-Addons/tree/master/incquery-viewers
TODOs
- generative support (generate content providers)
- support Tree viewers
- support formatting through annotation parameters
- autorefresh on pattern change (rebuild viewer model)
- revamp devUI
- make the View fancier
- activation should happen through the pattern registry
- (temporary solution: activate annotated patterns within the same resource from a menu item in the Query Registry)
- Load model (currently contributed to model editors) should be moved to the Query Explorer