| Eclipse 4 and Web [message #895717] |
Sun, 15 July 2012 05:45  |
Rushan Gilmullin Messages: 61 Registered: June 2011 |
Member |
|
|
Hi. I am working on vaadin renderer for E4. I have implemented the renderer itself in one user case and know think how to get it work in multi-user case. I was looking on this options:
1. Start the Equinox instance per user session. It seems this is not capable in terms of memory.
2. Use one Equinox instance and one workbench and every user has it's own window in workbench (MWindow). Because all change operations on workbench model we execute yourself (without any support from eclipse code), we must synchronize only our code (Vaadin renderer) and no additional assumption about workbench threadsafe need.
I decided to choose the second option. Maybe someone else has an idea? I read that the the one of reason why eclipse 4 was developed is moving the Eclipse in web. Perhaps the assumption is already there as you do?
[Updated on: Sun, 15 July 2012 05:45] Report message to a moderator
|
|
|
|
|
| Re: Eclipse 4 and Web [message #895733 is a reply to message #895722] |
Sun, 15 July 2012 10:06   |
Rushan Gilmullin Messages: 61 Registered: June 2011 |
Member |
|
|
Thomas Schindl
Thank for idea. I want to make sure I understand correctly. So I must create the E4Workbench instance in each user session and configure it from IApplicationContext that created with VaadinE4Aplication globally ones at server start. Also I create the implementation of IEventBroker (for example - the VaadinEventBroker) that sends events only to own subsrcibers (current implementation of IEventBroker named EventBroker will send to ALL subsribers because work over general OSGi EventAdmin). Then I set the instance of VaadinEventBroker to root IEclipseContext object of correspondence E4Workbench instance - now each workbench will use own event broker that will be send events to own subsribers. Is it correctly?
Sopot Cela
Of cource, it will be open source under the same licence as Eclipse and I will be happy if anybody will contribute to it. I don't have possibility to share project on next week because I am in buisness travel now, but I return to home in friday and in few days I will move it to github. Now it has some legacy pieces from previous project, and the first I clean it (to become it clearer). This project was the new workbench that I develop from zero (it is not relevant to eclipse) because I didn't know about E4. It is look very like E4 except the model is not EMF, it also can be rendered by different toolkits. I work on it 2 month until I see that E4 exists - it happened only when the Juno was releazed )) Of cource, now this project makes no sense, it is not needed now and must be utilized, because now we can use so great platform as Eclipse. I desire about the universal eclipse during long time and know it really happened. There are the javafx renderer already and when the vaadin renderer will be ready, the E4 will be finally the extrapower thing.
[Updated on: Sun, 15 July 2012 10:14] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
| Re: Eclipse 4 and Web [message #900585 is a reply to message #900192] |
Tue, 07 August 2012 12:15   |
Rushan Gilmullin Messages: 61 Registered: June 2011 |
Member |
|
|
Works are done in last days:
1. Old legacy parts dependents from UneversalWorkbench (my previous project) cleaned. I rewrite from zero renderers taking as base the Kai Toedter swing layer.
2. All code moved from maven. I find using maven cause big problems in equinox-osgi projects, becouse the xml-manifest doesn't allow use the eclipse manifest tools.
3. Per session workbench implemented as Thomas Schindl say. In future need replace the EventBroker implementation and all will be ok.
4. Drag and drop implemented. But it will be realized a little later, becouse need some finalization.
5. Demo project (eclipse-like ide) was implemented - it has the project explorer, outline view, console and code viewer.
After finaliztion this works the code will not be totally changed, so the code will be released and ready to receive contribution (now share not stabled code have no sense). It must be at the last of this week.
[Updated on: Tue, 07 August 2012 12:17] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: Eclipse 4 and Web [message #901713 is a reply to message #895717] |
Tue, 14 August 2012 05:46   |
Rushan Gilmullin Messages: 61 Registered: June 2011 |
Member |
|
|
Sopot Cela
The drag is implemented, it need some fix.
Thomas Schindl
I'm going on vacation later this week and will be able to work full time, I'm sure, to begin of september the working version will be. It will be ready earlier. After that will be published we can work together (and with other peoples) and all be ok.
----------------------
I apologize for the delay, it is not becouse I want to do everything alone as you might think from the outside, but a fear of showing incomplete... I had too little time to do fast... But very soon it be published...
[Updated on: Tue, 14 August 2012 05:49] Report message to a moderator
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03819 seconds