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/Query/DeveloperDocumentation/FeatureSetAndTesting/Viewers"
(Created page with "=== Viewers === ---- ==== Viewers Sandbox ==== * Initialization ** adding instance model and query definition to the Query Explorer ** select the Initialize IncQuery Viewer...") |
|||
Line 42: | Line 42: | ||
[[File:list.png|300px]] [[File:tree.png|300px]] [[File:zest.png|300px]] | [[File:list.png|300px]] [[File:tree.png|300px]] [[File:zest.png|300px]] | ||
− | [[File: | + | |
+ | Layout menu: | ||
+ | [[File:layout.png|700px|center]] | ||
Revision as of 20:22, 25 March 2015
Viewers
Viewers Sandbox
- Initialization
- adding instance model and query definition to the Query Explorer
- select the Initialize IncQuery Viewers from a query definition in the popup menu over any selected element in the main area
- Reinitialize IncQuery Viewers
- Reinitialize IncQuery Viewers (resource scope)
- configuration, customization: we can select the used queries in the settings
- Switch between horizontal and vertical mode
- Create new component
- Close current component
- view synchronization when the „Apply” button is clicked
- 3 Views:
- List viewer
- Tree viewer
- Graphviewer (change of settings)
- Refresh Graph
- Clear Graph
- Set zoom level
- Set layout of the graph
- Tree
- Spring
- Radial
- Sugiyama
Layout menu:
Using Viewer Annotations for Specifying the View Model
- @Item: used on patterns whose results will be the main elements to display in the viewers
- @ContainsItem: used on patterns whose results describe the the containment references between Items
- @Edge: used on patterns whose results describe a generic edge reference between Items
- @Format: used to define additional formatting