Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Drag&Drop of images on a Canvas
Drag&Drop of images on a Canvas [message #515773] Sat, 20 February 2010 12:13 Go to next message
Eclipse UserFriend
Hi all,

I should start a view for an Eclipse RCP where user could drag an image chosen from (suppose) a palette and drop on a central area of the view.

Do you know some reference tutorial, article, snippet which do a similar thing?

Have you some hint or guide lines to work with similar concepts?

Thanks in advance and best regards
Raffaele

Re: Drag&Drop of images on a Canvas [message #515887 is a reply to message #515773] Sun, 21 February 2010 23:22 Go to previous messageGo to next message
Eclipse UserFriend
There are many ways to do it using a canvas...

What is your requirement???
Is it a photo viewer kind of thing or
a model editor kind of thing(like UML editor) ?

if it is model editor king of thing go for GEF/GMF...
Re: Drag&Drop of images on a Canvas [message #515910 is a reply to message #515887] Mon, 22 February 2010 03:39 Go to previous messageGo to next message
Eclipse UserFriend
My requirement is a kind of magnetic board where user should put and remove some item and should draw some arrows lines between items.

There should be also a contextual menu over these items.

Standing at what you are saying should I investigate better GEF/GMF? If yes, I ask same question, do you know some starting point reference?

Is only my opinion or aren't there so much tutorials on the web about these kind of interfaces?

Thanks again and best regards
Raffaele
Re: Drag&Drop of images on a Canvas [message #515924 is a reply to message #515910] Mon, 22 February 2010 04:23 Go to previous message
Eclipse UserFriend
Your requirement exactly fits into GEF/GMF..

the starting point would be below url
http://www.eclipse.org/gef/

There is a gef shapes example from where you can start..



GMF is an advanced framwork,i would recomend not to venture..
but still the link is
http://www.eclipse.org/modeling/gmf/
Previous Topic:Shell setMaximized and taskbar
Next Topic:browser highlight info ...
Goto Forum:
  


Current Time: Sat Jul 05 11:03:11 EDT 2025

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

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

Back to the top