Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Extend a Deployed/Running Diagram
Extend a Deployed/Running Diagram [message #1716411] Thu, 03 December 2015 14:36 Go to next message
Bailey Trenton is currently offline Bailey TrentonFriend
Messages: 31
Registered: May 2015
Member
Hello,
Is it possible to extend a deployed diagram? We need to allow our running diagram to be extended through plugins developed in the same RCP client as the running diagram. Is this even possible with Sirius? I have tried to do it but when I try and "Load Resource" to get access to the mappings, it doesn't work because the odesign resource I am trying to load is wrapped in a deployed plugin(jar file).

Also, why is it the viewpoint project's responsibility to register the viewpoints from the odesign file by way of the Activator. Shouldn't that be handled internally by Sirius and just have the extension point give the odesign file to load? Is there a way around using the Activator to register additional Viewpoints?

Thanks,
Bailey
Re: Extend a Deployed/Running Diagram [message #1716436 is a reply to message #1716411] Thu, 03 December 2015 18:35 Go to previous messageGo to next message
Bailey Trenton is currently offline Bailey TrentonFriend
Messages: 31
Registered: May 2015
Member
Hello,
I figured out how to get the mappings in the running diagram by typing in the viewpoint URI in the Load Resource window. Is there any work being done or thoughts of creating some sort of chooser dialog to let you select available viewpoints instead of having to type them in?

Thanks,
Bailey
Re: Extend a Deployed/Running Diagram [message #1717084 is a reply to message #1716411] Wed, 09 December 2015 20:45 Go to previous messageGo to next message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 703
Registered: July 2009
Senior Member
Le 03/12/2015 15:36, Bailey Trenton a écrit :
> Hello,

Hi.

> Is it possible to extend a deployed diagram? We need to allow our
> running diagram to be extended through plugins developed in the same RCP
> client as the running diagram. Is this even possible with Sirius?

Yes, but from your other post you already found out. See
https://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#extensibility
for the corresponding documentation.

> Also, why is it the viewpoint project's responsibility to register the
> viewpoints from the odesign file by way of the Activator. Shouldn't
> that be handled internally by Sirius and just have the extension point
> give the odesign file to load?

Mostly for historical and compatibility reasons. We are aware that this
is not ideal, but in practice it has never caused actual issues which
would make this a priority.

There was some experiment at one point to replace this with another
mechanism (you can see the remnants of this in the
org.eclipse.sirius.viewpointSpecificationModel extension point and the
org.eclipse.sirius.business.internal.movida.registry package), but it
was part of a much larger work which was never considered ready for
production, so that part was semi-abandonned at the same time.

> Is there a way around using the
> Activator to register additional Viewpoints?

Not currently (the code mentioned above is not supported and probably
doesn't work).

Regards,
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
Re: Extend a Deployed/Running Diagram [message #1717086 is a reply to message #1716436] Wed, 09 December 2015 20:54 Go to previous message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 703
Registered: July 2009
Senior Member
Le 03/12/2015 19:35, Bailey Trenton a écrit :
> Hello,
> I figured out how to get the mappings in the running diagram by
> typing in the viewpoint URI in the Load Resource window. Is there any
> work being done or thoughts of creating some sort of chooser dialog to
> let you select available viewpoints instead of having to type them in?

Not to my knowledge, but it would be a good idea. Could you open a
feature request for this?

Thanks.

--
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
Previous Topic:Survey about new tool for modelling and DSL design
Next Topic:Left-alignment of labels of sequence diagram messages
Goto Forum:
  


Current Time: Thu Apr 25 00:11:58 GMT 2024

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

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

Back to the top