Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Support for simple client-side event handling
branch: experimental

This branch is 22 commits ahead, 2 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
org.eclipse.rap.clientscripting.demo
org.eclipse.rap.clientscripting.jstest
org.eclipse.rap.clientscripting.swt
org.eclipse.rap.clientscripting.test
org.eclipse.rap.clientscripting
org.eclipse.rap.demo.clientscripting
.gitignore
README.md

README.md

Differences of experimental branch to eclipse incubator master:

  • None of the changes June 2006 (including Paint support)
  • widget proxy has it's protocol id in user-data (not API)
  • Allow a Map as a optional parameter for ClientListener (previously EventBinding)
    • Map may (currently) contain instances of Widget, Integer, String or JavaFunction (part of CS)
    • Values of map are put into into local scope of client function (like "var = xxx;")
    • Actual local variables declared in javascript code are not overwritten
    • Was previousy attached to "this" object of client function. (That's why it's still called "context")
    • JavaFunction currently not supporting parameters or return value
  • Single sourcing helper "Listener.java" introduced
    • Uses reflection to turn a POJO into Map, only private fields and methods allowed
    • Listener must implement "getClientImpl" and should implement "handleEvent" (though it is ignored in RAP)
    • SWT version in bundle "org.eclipse.rap.clientscripting.swt"
    • NOT implemented: Server-Client sync for fields
Something went wrong with that request. Please try again.