8000 Several changes to enhance swt compatibility by fx-world · Pull Request #237 · eclipse-rap/org.eclipse.rap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Several changes to enhance swt compatibility #237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

fx-world
Copy link
Contributor

This should enhance compatibility between using RAP und RCP with the same application

Also-by: Ralf Schlesinger ralf.schlesinger@robotron.de
Also-by: Rico Scholz rico.scholz@robotron.de

In SWT you can execute JavaScript code in the Browser constructor, in
RWT you could not, because the Iframe did not yet exist. Now it flickers
into existence and you can execute JavaScript in it.

Also-by: Ralf Schlesinger <ralf.schlesinger@robotron.de>
Adapted test so Browser throws WidgetDisposed, when widget is disposed.

Also-by: Ralf Schlesinger <ralf.schlesinger@robotron.de>
Also-by: Ralf Schlesinger <ralf.schlesinger@robotron.de>
Also-by: Ralf Schlesinger <ralf.schlesinger@robotron.de>
Also-by: Ralf Schlesinger <ralf.schlesinger@robotron.de>
It was possible to prevent the delivery of dispose event, by overridding
notifyListeners, this is not possible in swt.

Also-by: Ralf Schlesinger <ralf.schlesinger@robotron.de>
Also-by: Ralf Schlesinger <ralf.schlesinger@robotron.de>
Also-by: Rico Scholz <rico.scholz@robotron.de>
adapted tests to new behavior

Also-by: Ralf Schlesinger <ralf.schlesinger@robotron.de>
In SWT the buttons are not in the statemask except in MouseUp.

Also-by: Ralf Schlesinger <ralf.schlesinger@robotron.de>
SWT does not call getBackground/getForeground/getFont during
construction, so RWT should not too.

Also-by: Ralf Schlesinger <ralf.schlesinger@robotron.de>
RAP is drawing text on coordinate 0,0 everytime at the top. RCP is
stepping down and introduces something like a margin. We set the margins
to get in most cases good looking texts. Could be wrong sometimes and
off by 1.

Also-by: Ralf Schlesinger <ralf.schlesinger@robotron.de>
Also-by: Rico Scholz <rico.scholz@robotron.de>
@eclipse-rap-bot
Copy link

Can one of the admins verify this patch?

@ifurnadjiev
Copy link
Contributor

ok to test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0