|
Re: Programmatically Opening Diagram Errors [message #1714408 is a reply to message #1714402] |
Thu, 12 November 2015 13:00   |
|
Le 12/11/2015 13:44, Bailey Trenton a écrit :
> Hello,
> I just recently upgraded to Sirius 3.1 from running Sirius 2.0.5 and
> I am having some problems with opening my diagram programmatically.
> When I try and open it using the DialectUIManager.INSTANCE.openEditor()
> command, I get an error:
>
> org.eclipse.ui.PartInitException: Unable to open editor, unknown editor
> ID: 'org.eclipse.sirius.diagram.ui.part.SiriusDiagramEditorID'
Hi,
This looks like an unintended side-effect of bug #456771 "Split UI
contributions into optional plug-ins", where we moved most UI-related
contributions (via the various plugin.xml) into new plug-ins. The idea
was to allow people to consume the core of Sirius without having all the
UI contributions enabled (all the views, perspectives, context menus etc.).
Apparently we were a little overzealous and moved the editor
contribution too, even though its registration does not risk cluttering
the UI and is not optional (like you discovered).
For the time being, a simple fix on you side would be to add an explicit
dependency towards org.eclipse.sirius.diagram.ui.ext (and all the new
*.ext plug-ins for that matter), and confirm if this fixes your issue.
If it does, we'll reopen the ticket (or create a new one) to fix this
and review the other changes made for #456771 for potential similar issues.
Note that this should not affect people who depend the Sirius features
(as opposed to individual plug-ins), and the features in 3.0 include the
new *.ext plug-ins.
Sorry for the inconvenience,
Pierre-Charles
--
Pierre-Charles David - Obeo
Need training or 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
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01866 seconds