Skip to main content


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 MittalFriend
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 FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
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 MittalFriend
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 SternbergFriend
Messages: 1313
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:SWT Image location in ResourceMananget
Next Topic:Combo problems in Firefox
Goto Forum:
  


Current Time: Thu Apr 25 10:19:28 GMT 2024

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

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

Back to the top