Skip to content
Discussion options

You must be logged in to vote

Hi,

I think, I'd implement that via Theia's opener service. Both buttons invoke open on click with opener options for which the other view is registered. With that you can achieve that those views would be activated and brought to front, whether they are currently already opened or not. Optionally you could extend the opener options so that the views would also update their selection as a result.

Prerequisite

There needs to be an open handler for each view that reacts to the open-event for a specific type of URI / opener options (see canHandle(URI, OpenerOptions) of your OpenHandler).

Open Event From GLSP

The button in GLSP can be implemented with a UI Extension or any other way. Likely, …

Replies: 1 comment

Comment options

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