|
|
|
|
Re: Table Editors [message #1770560 is a reply to message #1770436] |
Mon, 14 August 2017 08:33  |
Eclipse User |
|
|
|
Hi Bo Zhang,
A Sirius table is an editor and not a view so you cannot do what you want from the perspective API that only allows to place view regarding editor area position but not to manipulate the editor area content.
To achieve what you want, it may be possible to use an ISelectionChangeListener that will be triggered when your element from which you want to show other table editors is selected.
In this listener you would manually focus the right table if already opened or open it before if needed and if it exists. And you also would layout the editor area to have your corresponding table under your editor source of the selection.
The big question is: is there an API to layout programmatically editors in the editor area? If yes you can try what is suggested. If not I don't see a way to do that.
Regards,
|
|
|
Powered by
FUDForum. Page generated in 0.10064 seconds