Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Opening a sirius aird with an E4 application
Opening a sirius aird with an E4 application [message #1856300] Thu, 01 December 2022 17:46
Omar Tazi is currently offline Omar TaziFriend
Messages: 1
Registered: December 2022
Junior Member
Hi,
I'm writing an Eclipse 4 application.
I have to open a Sirius diagram in this application, so :
1. I create a session with a given aird. It works.
2. I find the representation in the session.

But then :
3. I use :
DialectUIManager.INSTANCE.openEditor

and that gets me :
java.lang.IllegalStateException: Workbench has not been created yet.

Does this mean that Sirius is written in E3 and I have to implement a compatibility layer or something like that, to be able to open a Sirius diagram in my Eclipse 4 application ?

Or that this code is obsolete and there is a more recent way to open a Sirius diagram ?

Thanks for your answer
Omar

Previous Topic:How to add new PaletteToolEntry to PaletteToolBar?
Next Topic:porting sirius prototype from eclipse 3 to eclipse 4
Goto Forum:
  


Current Time: Tue Apr 16 21:31:48 GMT 2024

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

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

Back to the top