Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 17:13 Go to next message
Raffaele Gambelli is currently offline Raffaele GambelliFriend
Messages: 27
Registered: July 2009
Junior Member
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] Mon, 22 February 2010 04:22 Go to previous messageGo to next message
Vijay RajFriend
Messages: 608
Registered: July 2009
Senior Member
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...


---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
Re: Drag&Drop of images on a Canvas [message #515910 is a reply to message #515887] Mon, 22 February 2010 08:39 Go to previous messageGo to next message
Raffaele Gambelli is currently offline Raffaele GambelliFriend
Messages: 27
Registered: July 2009
Junior Member
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 09:23 Go to previous message
Vijay RajFriend
Messages: 608
Registered: July 2009
Senior Member
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/


---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
Previous Topic:Shell setMaximized and taskbar
Next Topic:browser highlight info ...
Goto Forum:
  


Current Time: Fri Mar 29 01:59:37 GMT 2024

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

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

Back to the top