-
Notifications
You must be signed in to change notification settings - Fork 20
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
Several changes to enhance swt compatibility #237
Open
fx-world
wants to merge
11
commits into
eclipse-rap:main
Choose a base branch
from
fx-world:feature/swt_compatibility
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <[email protected]>
Adapted test so Browser throws WidgetDisposed, when widget is disposed. Also-by: Ralf Schlesinger <[email protected]>
Also-by: Ralf Schlesinger <[email protected]>
Also-by: Ralf Schlesinger <[email protected]>
Also-by: Ralf Schlesinger <[email protected]>
It was possible to prevent the delivery of dispose event, by overridding notifyListeners, this is not possible in swt. Also-by: Ralf Schlesinger <[email protected]>
Also-by: Ralf Schlesinger <[email protected]> Also-by: Rico Scholz <[email protected]>
adapted tests to new behavior Also-by: Ralf Schlesinger <[email protected]>
In SWT the buttons are not in the statemask except in MouseUp. Also-by: Ralf Schlesinger <[email protected]>
SWT does not call getBackground/getForeground/getFont during construction, so RWT should not too. Also-by: Ralf Schlesinger <[email protected]>
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 <[email protected]> Also-by: Rico Scholz <[email protected]>
Can one of the admins verify this patch? |
ok to test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This should enhance compatibility between using RAP und RCP with the same application
Also-by: Ralf Schlesinger [email protected]
Also-by: Rico Scholz [email protected]