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 "VIATRA/DeveloperDocumentation/VIATRA Viewers"

(New page: = 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...)
 
(IncQuery Viewers)
Line 2: Line 2:
  
 
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.
 
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 ==
 
== Development outline ==

Revision as of 13:46, 3 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 (from Csurgo)

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

Back to the top