Skip to main content



      Home
Home » Eclipse Projects » Sirius » Drag and Container Drop Problem
Drag and Container Drop Problem [message #1691732] Thu, 09 April 2015 06:44 Go to next message
Eclipse UserFriend
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 06:54 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Drag and Container Drop Problem [message #1691735 is a reply to message #1691734] Thu, 09 April 2015 07:02 Go to previous messageGo to next message
Eclipse UserFriend
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 07:05 Go to previous message
Eclipse UserFriend
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: Sat May 17 09:25:07 EDT 2025

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

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

Back to the top