Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Open a Sirius representation inside a View(instead of the editor area)
Open a Sirius representation inside a View [message #1620661] Tue, 17 February 2015 10:37 Go to next message
Francois Cabrol is currently offline Francois CabrolFriend
Messages: 32
Registered: January 2015
Member
Hi,

In my application, I would like to replace the Model Explorer view with one of the Sirius tree representations I designed. I also would need to display one of the Sirius table representations in a dedicated view.

So I am wondering if it is possible to programmatically display a Sirius representation inside a View, instead of the editor area (which is the case when calling DialectUIManager.INSTANCE.openEditor).

Does the Sirius or GMF API provide a way to do this ?

So far, I have been using the EModelService and EPartService of the e4 workbench model to move the editor part into a given placeholder after the call to openEditor, but I do not find this way optimal.

Thanks in advance for your help,

François

[Updated on: Tue, 17 February 2015 13:10]

Report message to a moderator

Re: Open a Sirius representation inside a View [message #1631138 is a reply to message #1620661] Mon, 23 February 2015 16:09 Go to previous message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 701
Registered: July 2009
Senior Member
Le 17/02/2015 11:37, Francois Cabrol a écrit :
> Hi,

Hi.

> In my application, I would like to replace the Model Explorer view
> with one of the Sirius tree representations I designed. I also would
> need to display one of the Sirius table representations in a dedicated
> view.
>
> So I am wondering if it is possible to programmatically display a
> Sirius representation inside a View, instead of the editor area (which
> is the case when calling DialectUIManager.INSTANCE.openEditor).
> Does the Sirius or GMF API provide a way to do this ?

While we are aware of this need, it is not possible currently and would
require relatively large changes in Sirius (and possibly in GEF and
GMF). It's definitly something we would like to allow, but it is not
planned at the moment.

If you need is simply to show the editor outside of the main editor
area, this is possible since Eclipse 4.2 (e4 does not really treat the
main editor area as something special), so you can have your editor
"around" another editor in the middle of other views.

Regards,
Pierre-Charles

--
Pierre-Charles David - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius


Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Creating a wizard
Next Topic:Sirius and Xtext synchronization
Goto Forum:
  


Current Time: Fri Mar 29 13:16:20 GMT 2024

Powered by FUDForum. Page generated in 0.02115 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top