Clipboard vs. JEE_COMPATIBILITY [message #1860624] |
Tue, 22 August 2023 07:21  |
Eclipse User |
|
|
|
Hi,
can you think of a way to implement access to the Clipboard from an application, which was created to run in JEE_COMPATIBILITY mode?
We started development several years ago and did not give much thought to the difference.
Do I understand correctly, that the Clipboard is implemented similar to a modal prompt in orderto allow the browser to ask the user's permission to access the clipboard? Isn't something similar possible to be implemented in JEE_COMPATIBILITY mode?
One of our customers (using the Edge browser) complains a lot, that it is not possible to get the "Paste" to work from our custom context menus.
What do you think would be the easiest way to implement this AND what would most benefit the Eclipse RAP project as a whole?
1. Use Clipboard and try to make it work in JEE_COMPATIBILITY using something similar to the Dialog callback API ?
2. Implement the paste function on the Javascript side for the text widget as a pure browser-side action, maybe by using the RWT clipboard implementation?
Appreciate your thoughts on this.
Best regards,
Gunnar Adams
|
|
|
|
|
Re: Clipboard vs. JEE_COMPATIBILITY [message #1860759 is a reply to message #1860643] |
Fri, 01 September 2023 04:00  |
Eclipse User |
|
|
|
Hi,
yes... they a package private (I have them public in my custom development). The ClipboardListener will be notified when readText/writeText is called in JEE_COMPATIBILITY mode.
Maybe you can open an issue (enhancement request) to make them public.
Best regards,
Ivan
|
|
|
Powered by
FUDForum. Page generated in 0.03373 seconds