Skip to content
Discussion options

You must be logged in to vote

I think it's not exposed at the moment. If you are in a context where you can add your own Java services, it should be possible write one which finds the element from the selectedNode with something like:

public EObject resolveTargetElement(Node selectedNode, IEditingContext editingContext) {
  // You'll need to inject IObjectService in your service class's constructor
  return this.objectService.getObject(editingContext, selectedNode.getTargetObjectId())).orElse(null);
}

and then an expression like: aql:selectedNode.resolveTargetElement(editingContext).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@volodgo
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by volodgo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants