Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » drop listener
drop listener [message #1256433] Tue, 25 February 2014 12:26 Go to next message
Devendra Mittal is currently offline Devendra Mittal
Messages: 2
Registered: December 2013
Junior Member
Hi,
I am creating multiple components using rap so that these components can be used to create a project using windows builder. I want to know that if there is any listener that I can use to identify that user has dropped a component inside another. There is control listener that can to used to identify if size of component is changed. Similarly I want to get notified if any thing is dropped in the component.


addControlListener(new ControlAdapter()
{
@Override
public void controlResized(final ControlEvent e)
{
//some code here.
}
}
Re: drop listener [message #1257264 is a reply to message #1256433] Wed, 26 February 2014 08:20 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1839
Registered: July 2009
Senior Member
Hi,
SWT DND API is available in RAP and it's working well. You need to
create a DropTarget with your control and attach a listener to it.
HTH,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: drop listener [message #1258152 is a reply to message #1257264] Thu, 27 February 2014 05:30 Go to previous messageGo to next message
Devendra Mittal is currently offline Devendra Mittal
Messages: 2
Registered: December 2013
Junior Member
Hi Ivan,
Thanks for the reply. It is not working for eclipse window builder drag and drop. I want to drop listener in windows builder(design mode) not on run time.

Re: drop listener [message #1258306 is a reply to message #1258152] Thu, 27 February 2014 08:51 Go to previous message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1291
Registered: July 2009
Senior Member

In this case you should ask your question in the WindowBuilder forum:

http://www.eclipse.org/forums/index.php/f/214/

Regards,
Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Chrome display issue
Next Topic:Entry point / not working in WAR
Goto Forum:
  


Current Time: Thu Oct 23 15:26:36 GMT 2014

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

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