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

Xtend runtime querying

Topic

Eclipse view for executing Xtend queries on workspace and open models.


Description

The aim of this project is to create an Eclipse view, which would allow for defining and executing Xtend queries on Ecore models from workspace. Results of such expressions should be displayed in tree, list or text form, depending on the type of the result.


Origin

This project was inspired by Eclipse plugin for evaluating XPath expressions on XML files: eclipse-xpath-plugin [1]

Krzysztof Kowalczyk is the author of this idea:

[2]


Aims

Such a component should have the following features:


- connection to opened model editor. If some Ecore model is opened (GMF, UML), it should use the model from editor as the context.

- should allow to execute queries on models from files in workspace

- it should be possible to define a transformation which result in text, List, Tree or Table displayed in corresponding JFace control

- polymorphic display: if String is an output, the view should display text, if Ecore model is an output, then some reflective Ecore editor should be used, if output is a ITreeContentProvider then JFace TreeViewer should be used.

- should enable making changes on the model.

Back to the top