Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » rap.on with context
rap.on with context [message #1232256] Thu, 16 January 2014 14:26 Go to next message
Martin Tauber is currently offline Martin TauberFriend
Messages: 122
Registered: July 2009
Senior Member
Hi everybody,

I'm developing my own rap widgets and here is suggestion for the API it
would be nice to extend the rap.on method so that it takes a context
which I then could access via this in the method. (and maybe even
parameters ...) This would make some codeing more elegant ...

Regards
Martin
Re: rap.on with context [message #1232609 is a reply to message #1232256] Fri, 17 January 2014 10:17 Go to previous message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi.

There has already been some internal discussion about whether we should
do this or not. When you look at the CKEditor handler.js you will see
that you can work around this with a utility called bindAll. I currently
think it's more likely that we will add something like this to RAP than
extending rap.on itself, but your opinion will definitely be considered
for future decisions.

Greetings,
Tim

Am 16.01.2014 15:26, schrieb Martin Tauber:
>
> I'm developing my own rap widgets and here is suggestion for the API it
> would be nice to extend the rap.on method so that it takes a context
> which I then could access via this in the method. (and maybe even
> parameters ...) This would make some codeing more elegant ...

--
Tim Buschtöns

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:CTabitem vs TabItem theming
Next Topic:ExpandBar space key to toggle expand/collapse state
Goto Forum:
  


Current Time: Tue Apr 23 12:14:56 GMT 2024

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

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

Back to the top