Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "VIATRA/DeveloperDocumentation/VIATRA Viewers"

Line 12: Line 12:
 
** interpretative strategy
 
** interpretative strategy
 
** build an intermediate ("view") model based on annotated patterns and an instance model, and pass this through a contentprovider
 
** build an intermediate ("view") model based on annotated patterns and an instance model, and pass this through a contentprovider
** supported viewers: Zest, List
+
** supported viewers: JFace ListViewer, JFace TreeViewer, Zest GraphViewer
 
** annotations
 
** annotations
 
*** @Item
 
*** @Item
 
*** @Edge
 
*** @Edge
 
*** @ContainsItem
 
*** @ContainsItem
 +
*** @Format
 
** model changes are propagated with incquery databinding
 
** model changes are propagated with incquery databinding
** temporary UI located at https://github.com/istvanrath/EMF-IncQuery-Addons/tree/master/incquery-viewers
+
 
  
 
TODOs
 
TODOs
 
* generative support (generate content providers)
 
* generative support (generate content providers)
* support Tree viewers
 
* support formatting through annotation parameters
 
 
* autorefresh on pattern change (rebuild viewer model)
 
* autorefresh on pattern change (rebuild viewer model)
 
* revamp devUI
 
* revamp devUI
Line 29: Line 28:
 
** activation should happen through the pattern registry
 
** activation should happen through the pattern registry
 
*** (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
 +
 
 
[[Category:EmfIncQuery]]
 
[[Category:EmfIncQuery]]

Revision as of 13:35, 14 April 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: JFace ListViewer, JFace TreeViewer, Zest GraphViewer
    • annotations
      • @Item
      • @Edge
      • @ContainsItem
      • @Format
    • model changes are propagated with incquery databinding


TODOs

  • generative support (generate content providers)
  • 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

Back to the top