Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Drag and Container Drop Problem
Drag and Container Drop Problem [message #1691732] Thu, 09 April 2015 10:44 Go to next message
Arunkumar Ramaswamy is currently offline Arunkumar RamaswamyFriend
Messages: 57
Registered: April 2014
Member
I have implemented a drag and container drop functionality. Now I am able to drag and drop from both different viewpoint and model explorer.
But I am not able to do it when i dragged the model from another model.
For example: i have two modeling projects (based on same metamodel and same sirius design) I want to drag and drop from one viewpoint of first model to another viewpoint of second model)
Currently my implementation works within same model only !!!

Any help much appreciated.
Re: Drag and Container Drop Problem [message #1691734 is a reply to message #1691732] Thu, 09 April 2015 10:54 Go to previous messageGo to next message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 572
Registered: May 2011
Senior Member
Hello,

I think what you meant as "viewpoint" is a diagram.
This will not work because each modeling project has its own editing
domain. However, in the modeling project containing the opened diagram,
you can load the semantic resource of the other modeling project. Under
the modeling project, you have an element "Project Dependencies". Select
its only contextual menu "Add model" and browe workspace to choose the
semantic model of the second modeling project. Now you will see the
second semantic resource under the Project Dependencies element and
should be able to perform your drag and drop.

Regards,
Steve

Le 09/04/2015 12:44, Arunkumar Ramaswamy a écrit :
> I have implemented a drag and container drop functionality. Now I am
> able to drag and drop from both different viewpoint and model explorer.
> But I am not able to do it when i dragged the model from another model.
> For example: i have two modeling projects (based on same metamodel and
> same sirius design) I want to drag and drop from one viewpoint of first
> model to another viewpoint of second model)
> Currently my implementation works within same model only !!!
>
> Any help much appreciated.
>


--
Steve Monnier - Obeo

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


Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Drag and Container Drop Problem [message #1691735 is a reply to message #1691734] Thu, 09 April 2015 11:02 Go to previous messageGo to next message
Arunkumar Ramaswamy is currently offline Arunkumar RamaswamyFriend
Messages: 57
Registered: April 2014
Member
Thanks Steve
I could not find Project Dependencies menu. Where can i exactly find it.
I can see 'Add model' context menu on the .aird file though. Are you mentioned this one?

Thanks in advance.
Re: Drag and Container Drop Problem [message #1691736 is a reply to message #1691735] Thu, 09 April 2015 11:05 Go to previous message
Arunkumar Ramaswamy is currently offline Arunkumar RamaswamyFriend
Messages: 57
Registered: April 2014
Member
Hi Steve
I got it. Previously I was creating a general project.
Thanks
Previous Topic:Sirius RCP
Next Topic:Cascading Style Definitions
Goto Forum:
  


Current Time: Tue Apr 23 16:07:17 GMT 2024

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

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

Back to the top