Community
Participate
Working Groups
In order to easily demo the Browser widget and how it can allow to use HTML/JS to create Eclipse components such as views, it would be great to have a PDE template creating a well integrated view relying on the Browser widget and showing operations such as being synchronized with the SelectionService or something that shows the view can interact in both ways with the IDE.
Interesting resource: https://www.slideshare.net/bokowski/embedding-web-uis-in-your-eclipse-application
+1
I recommend to run things on Webkit2 when you develop/test. export SWT_WEBKIT2=1 ./eclipse If something doesn't work, please ping me.
Maybe this is interesting? I have been experimenting with this back in the day to see which opensocial gadgets would be consumed and which not. As you can see this code is running inside views and react with their surroundings (e.g. Eyes). https://wiki.eclipse.org/E4/OpenSocialGadgets
@Win: Those are great examples, and a template showing one of those widgets in a view or an editor with bidirectional interaction would be perfect! Is this something you'd like to contribute?
(In reply to Mickael Istria from comment #5) > @Win: Those are great examples, and a template showing one of those widgets > in a view or an editor with bidirectional interaction would be perfect! Is > this something you'd like to contribute? I have been doing a lot with JavaScript lately so this sounds like a nice challenge. I will do some experiments to see how far I get.
Apparently Boris Bokowski was inspired by this vimeo video. https://vimeo.com/21166223 This code was created by Peter Stibrany. The source of the code in the above vimeo I believe is here https://github.com/Tasktop/Foglyn I will try to find Peter.
(In reply to Wim Jongman from comment #7) > Apparently Boris Bokowski was inspired by this vimeo video. > > https://vimeo.com/21166223 Wow, awesome.
(In reply to Wim Jongman from comment #7) > Apparently Boris Bokowski was inspired by this vimeo video. > https://vimeo.com/21166223 > This code was created by Peter Stibrany. The source of the code in the above > vimeo I believe is here > https://github.com/Tasktop/Foglyn > I will try to find Peter. I believe for a template, something simpler such as a regular HTTP form that's pre-populated according to Eclipse selection and that opens an Eclipse pop-up dialog on submit would be enough. No need to introduce funtional complexity, the purpose is mainly to show that embedding HTTP in Eclipse UI and bidirectional communication with Workbench is possible.
(In reply to Wim Jongman from comment #7) > I will try to find Peter. https://github.com/Tasktop/Foglyn/issues/50
This kind of blogposts https://cdtdoug.ca/2018/08/31/aliens-vscode.html is exactly the reason why I believe we need Eclipse IDE and PDE to get such template or at least documentation. What's explained here for VSCode would be about as as trivial to do in the Eclipse IDE with a browser view. Unfortunately we miss shareable content to answer here and remind the HTML/JS based extensions are possible in the Eclipse IDE too.
Created attachment 287598 [details] Visual I have created the requested template. However, I accidentally pushed it directly to master. I'm sorry about that. If you want you can revert so we can go through G. See the video for the result. This is pretty nice.
All that looks good to me. Please add a note about those new examples to the N&N.
New Gerrit change created: https://git.eclipse.org/r/c/www.eclipse.org/eclipse/news/+/189047
Gerrit change https://git.eclipse.org/r/c/www.eclipse.org/eclipse/news/+/189047 was merged to [master]. Commit: http://git.eclipse.org/c/www.eclipse.org/eclipse/news.git/commit/?id=dfa2d2bcd9027e05be9b15405198b27393428fb3
Please resolve this bug if this is fixed.
I verified it with latest I-Build and it's a great example.
Verified.
(In reply to Mickael Istria from comment #17) > I verified it with latest I-Build and it's a great example. Thanks!