XML Api: Need help with completion

In my ResolvingConverter I return a list of all states that a transition can lead to.
The problem is that I need to make the completion aware of relative names.
Using the code below I get the following suggestions when I hit-ctrl-space in any transition's "to" attribute:




What I need are these suggestions when completion is invoked before "BBB":

and for AAA:

Is that possible with the current framework?

1 comment
Comment actions Permalink

To answer my own question:
String ResolvingConverter.toString(domNode, context)
return the relative path to domNode starting from context.getInvocationElement()


Please sign in to leave a comment.