Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Create new instances via context menu in model explorer
Create new instances via context menu in model explorer [message #1490753] Fri, 28 November 2014 12:06 Go to next message
Steven Kauffmann is currently offline Steven KauffmannFriend
Messages: 19
Registered: November 2014
Junior Member
Hi all,

Creating a new instance of some model element is now only possible in a diagram. To make this work you have to specify an element creation for that particular diagram in the sirius viewpoint.
It would be useful if we also could create a new instance of a model element via the context menu in the model explorer.

Any idea how to realise that?

Best regards,
Steven

Re: Create new instances via context menu in model explorer [message #1490983 is a reply to message #1490753] Fri, 28 November 2014 16:08 Go to previous messageGo to next message
Florian Barbin is currently offline Florian BarbinFriend
Messages: 236
Registered: August 2010
Senior Member
On 11/28/2014 03:23 PM, Steven Kauffmann wrote:
> Hi all,

Hi Steven,

You can edit your model through several representations (Diagram, Table,
Tree). About the model explorer, I can suggest you to provide your own
context menu. Take a look on the answer of this post for more details:
https://www.eclipse.org/forums/index.php/m/1266146/?srch=Is+there+a+specific+extension#msg_1266146
>
> Creating a new instance of some model element is now only possible in a
> diagram. To make this work you have to specify an element creation for
> that particular diagram in the sirius viewpoint.
> It would be useful if we also could create a new instance of a model
> element via the context menu in the model explorer.
>
> Any idea how to realise that?
>
> Best regards,
> Steven
>
>

Regards,
--
Florian - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Create new instances via context menu in model explorer [message #1490984 is a reply to message #1490983] Fri, 28 November 2014 16:09 Go to previous message
Florian Barbin is currently offline Florian BarbinFriend
Messages: 236
Registered: August 2010
Senior Member
On 11/28/2014 05:08 PM, Florian Barbin wrote:
> On 11/28/2014 03:23 PM, Steven Kauffmann wrote:
>> Hi all,
>
> Hi Steven,
>
> You can edit your model through several representations (Diagram, Table,
> Tree). About the model explorer, I can suggest you to provide your own
> context menu. Take a look on the answer of this post for more details:
> https://www.eclipse.org/forums/index.php/m/1266146/?srch=Is+there+a+specific+extension#msg_1266146

The correct link:
https://www.eclipse.org/forums/index.php?t=msg&th=668041&goto=1266146&#msg_1266146

>
>>
>> Creating a new instance of some model element is now only possible in a
>> diagram. To make this work you have to specify an element creation for
>> that particular diagram in the sirius viewpoint.
>> It would be useful if we also could create a new instance of a model
>> element via the context menu in the model explorer.
>>
>> Any idea how to realise that?
>>
>> Best regards,
>> Steven
>>
>>
>
> Regards,


--
Florian - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Custom Edge Styling - Avoid obstructions
Next Topic:How to synchronize layouts between 2 representations?
Goto Forum:
  


Current Time: Sun Mar 29 12:57:33 GMT 2020

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

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

Back to the top