Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Eclipse 4 and Web(Vaadin renderer for Eclipse 4)
Eclipse 4 and Web [message #895717] Sun, 15 July 2012 09:45 Go to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
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 09:45]

Report message to a moderator

Re: Eclipse 4 and Web [message #895719 is a reply to message #895717] Sun, 15 July 2012 10:06 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Very cool!

Well I think every user should have its no Workbench-Instance. e4
internally does NOT use singletons or starts to creating multiple
instances in E4Workbench should be a problem.

The only thing you need to patch is the IEventBroker used to sendout
events which is quite simply I think if implement your own and push it
into the root-IEclipseContext as a IContextFunction.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=309868

Tom

Am 15.07.12 11:45, schrieb Rushan Gilmullin:
> 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 and 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?
>
>
>
Re: Eclipse 4 and Web [message #895722 is a reply to message #895719] Sun, 15 July 2012 11:21 Go to previous messageGo to next message
Eclipse UserFriend
Hi.

I also tried to build renderers for Vaadin some time ago but left it pending for some reasons. I have extensive experience with the Vaadin framework so if your work is meant to be open sourced I'd be happy to contribute.

Re: Eclipse 4 and Web [message #895733 is a reply to message #895722] Sun, 15 July 2012 14:06 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
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 14:14]

Report message to a moderator

Re: Eclipse 4 and Web [message #895738 is a reply to message #895733] Sun, 15 July 2012 15:07 Go to previous messageGo to next message
Eclipse UserFriend
Ok then when you get the time to polish it we'll see what we can do. A good place to keep contact is the e4-dev mailing list and also the #eclipse-e4 IRC channel on irc.freenode.net
Re: Eclipse 4 and Web [message #895754 is a reply to message #895733] Sun, 15 July 2012 17:57 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Am 15.07.12 16:06, schrieb Rushan Gilmullin:
> 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?
>

You got it almost right. Well you are not setting the VaadinEventBroker
but a custom ContextFunction in the root context, every context will
create and dipose the broker which makes sure subscribers are clean when
e.g. a view is closed!

I think you need copy most of the code found in E4Application but omit
the root context creation there.

As I've shown in the patch to EventBroker on the bug isolating the
events to a workbench instance is quite easy, so if you apply the patch
and copy it to VaadinEventBroker you are fairly, done.

In case we release the proposed patch to our EventBroker you don't need
your custom event broker any more.

Tom
Re: Eclipse 4 and Web [message #895760 is a reply to message #895717] Sun, 15 July 2012 19:44 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
Thomas Schindl

Now it's all clear, thanks for the idea and help.

Sopot Cela

OK, I will post the link to repo with project to this theme and in e4-dev.
Re: Eclipse 4 and Web [message #895929 is a reply to message #895760] Mon, 16 July 2012 14:17 Go to previous messageGo to next message
Eclipse UserFriend
Also see https://bugs.eclipse.org/bugs/show_bug.cgi?id=384843 as it can help in making it easier to develop the vaadin renderer.
Re: Eclipse 4 and Web [message #900060 is a reply to message #895929] Fri, 03 August 2012 18:00 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
Work are going. Soon to be published the preliminary results.
Re: Eclipse 4 and Web [message #900108 is a reply to message #900060] Sat, 04 August 2012 05:44 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Can't wait to see results. We are here to assit you to solve problems
and if there are features in the framework you need to solve your
usecase let us please know.

Tom

Am 03.08.12 20:00, schrieb Rushan Gilmullin:
> Work are going. Soon to be published the preliminary results.
>
Re: Eclipse 4 and Web [message #900192 is a reply to message #900108] Sun, 05 August 2012 06:01 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
I apologize for the delay. So far no problems now. The delay caused by the fact that now we releaze project on work, so there are lot of work and travel. (( It so happened that I to get to work at this project a couple of days ago. But now the work is taking place rapidly. Next week, I guess, on Wednesday, the project will be published along with the demo. At this time, definitely longer delay will not, because at work became freer.
What will be done:
1. Most of the model, with the perspectives.
2. Drag-drop of the components
3. The demo project
Re: Eclipse 4 and Web [message #900585 is a reply to message #900192] Tue, 07 August 2012 16:15 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
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 16:17]

Report message to a moderator

Re: Eclipse 4 and Web [message #900631 is a reply to message #900585] Tue, 07 August 2012 20:51 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Any screenshots?

Tom
Am 07.08.12 18:15, schrieb Rushan Gilmullin:
> Works are done in this 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 in a last this week.
>
Re: Eclipse 4 and Web [message #900688 is a reply to message #900631] Wed, 08 August 2012 07:46 Go to previous messageGo to next message
Nepomuk Seiler is currently offline Nepomuk SeilerFriend
Messages: 88
Registered: December 2010
Member
This sounds very cool. Which Vaadin version are you using? 7 is in alpha phase, but
has very powerful extensions such as push build-in push support, which makes asychronous
work a lot easier.
Re: Eclipse 4 and Web [message #901376 is a reply to message #900688] Sat, 11 August 2012 16:41 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
test msg1
Re: Eclipse 4 and Web [message #901377 is a reply to message #901376] Sat, 11 August 2012 16:41 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
test msg1
Re: Eclipse 4 and Web [message #901378 is a reply to message #901377] Sat, 11 August 2012 16:43 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
msg3
Re: Eclipse 4 and Web [message #901379 is a reply to message #901378] Sat, 11 August 2012 16:43 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
msg4
Re: Eclipse 4 and Web [message #901380 is a reply to message #901379] Sat, 11 August 2012 16:43 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
msg5
Re: Eclipse 4 and Web [message #901381 is a reply to message #901380] Sat, 11 August 2012 16:43 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
msg6
Re: Eclipse 4 and Web [message #901382 is a reply to message #901381] Sat, 11 August 2012 16:44 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
msg7
Re: Eclipse 4 and Web [message #901383 is a reply to message #901382] Sat, 11 August 2012 16:44 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
msg8
Re: Eclipse 4 and Web [message #901384 is a reply to message #901383] Sat, 11 August 2012 16:44 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
msg9
Re: Eclipse 4 and Web [message #901385 is a reply to message #901384] Sat, 11 August 2012 16:44 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
msg10
Re: Eclipse 4 and Web [message #901386 is a reply to message #901385] Sat, 11 August 2012 16:44 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
msg11
Re: Eclipse 4 and Web [message #901387 is a reply to message #901386] Sat, 11 August 2012 16:44 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
msg12
Re: Eclipse 4 and Web [message #901388 is a reply to message #901387] Sat, 11 August 2012 16:44 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
msg13
Re: Eclipse 4 and Web [message #901389 is a reply to message #901388] Sat, 11 August 2012 16:44 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
msg14
Re: Eclipse 4 and Web [message #901390 is a reply to message #901389] Sat, 11 August 2012 16:44 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
msg15
Re: Eclipse 4 and Web [message #901391 is a reply to message #901390] Sat, 11 August 2012 16:45 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
I am sorry for dummy messages - the forum doesn't allow post links to reources outside eclipse.org until 25 messages.

Quote:
Which Vaadin version are you using?


Vaadin 6 now. Porting is not difficult.


Quote:
Any screenshots?


This is demo of eclipse-like ide:

java-perspective:
http://s003.radikal.ru/i201/1208/46/a5204cecf1d9.png
debug-perspective:
http://s47.radikal.ru/i118/1208/67/19274c815ddd.png
Re: Eclipse 4 and Web [message #901411 is a reply to message #901391] Sat, 11 August 2012 23:01 Go to previous messageGo to next message
Eclipse UserFriend
Looks good. Were you able to implement dragging the vaadin tabs (parts)? Any progress on publishing the code?
Re: Eclipse 4 and Web [message #901433 is a reply to message #901391] Sun, 12 August 2012 08:51 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Wow that's really cool!

I'm going to present Eclipse 4 at JavaOne and it would be a great show
case to highlight power of Eclipse 4 architecture. Do you think we can
get something running on my locally machine say until mid September?

Tom

Am 11.08.12 18:45, schrieb Rushan Gilmullin:
> I am sorry for dummy messages - the forum doesn't allow post links to
> reources outside eclipse.org until 25 messages.
>
> Quote:
>> Which Vaadin version are you using?
>
>
> Vaadin 6 now. Porting is not difficult.
>
>
> Quote:
>> Any screenshots?
>
>
> This is demo of eclipse-like ide:
>
> java-perspective:
>
> debug-perspective:
>
>
Re: Eclipse 4 and Web [message #901543 is a reply to message #901433] Mon, 13 August 2012 10:26 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
If you want to make use of keybindings. I've extracted the binding logic
from JFace to make it widget independent.

The bundles of interest for you are:
* at.bestsolution.efxclipse.runtime.bindings
* at.bestsolution.efxclipse.runtime.bindings.e4
* at.bestsolution.efxclipse.runtime.bindings.generic

You can grab them from: https://github.com/tomsontom/e-fx-clipse/

The FX-Implementation is found in:
* at.bestsolution.efxclipse.runtime.workbench

Tom

Am 12.08.12 10:51, schrieb Tom Schindl:
> Wow that's really cool!
>
> I'm going to present Eclipse 4 at JavaOne and it would be a great show
> case to highlight power of Eclipse 4 architecture. Do you think we can
> get something running on my locally machine say until mid September?
>
> Tom
>
> Am 11.08.12 18:45, schrieb Rushan Gilmullin:
>> I am sorry for dummy messages - the forum doesn't allow post links to
>> reources outside eclipse.org until 25 messages.
>>
>> Quote:
>>> Which Vaadin version are you using?
>>
>>
>> Vaadin 6 now. Porting is not difficult.
>>
>>
>> Quote:
>>> Any screenshots?
>>
>>
>> This is demo of eclipse-like ide:
>>
>> java-perspective:
>>
>> debug-perspective:
>>
>>
>
Re: Eclipse 4 and Web [message #901713 is a reply to message #895717] Tue, 14 August 2012 09:46 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
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 09:49]

Report message to a moderator

Re: Eclipse 4 and Web [message #901714 is a reply to message #901713] Tue, 14 August 2012 09:50 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Don't fear us looking at your code! I think what you already
accomplished is a fantastic!

The early we get access to it the more we can help you. Easiest is to
dump it to github.

If you want you can contact me offline through the above E-Mail Adress.

Tom

Am 14.08.12 11:46, schrieb Rushan Gilmullin:
> 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 september the working version will be. It will be
> ready earlier.
>
> ----------------------
>
> 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...
>
Re: Eclipse 4 and Web [message #901716 is a reply to message #901714] Tue, 14 August 2012 10:14 Go to previous messageGo to next message
Eclipse UserFriend
Rushan, as Tom said, don't care that the code is not perfectly written. We are curious of the source and like to see it whatever it looks like. We all have some repo in github with some dirty code in it. Dump it there as soon as you can so we can contribute in making it better.
Re: Eclipse 4 and Web [message #901951 is a reply to message #901716] Wed, 15 August 2012 09:21 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

@Rushan: A code repo would be great. A lot of people working on non SWT Renderer these days and code sharing would be a great thing here.
Re: Eclipse 4 and Web [message #902602 is a reply to message #895717] Sat, 18 August 2012 19:21 Go to previous messageGo to next message
Andreas  Hoehmann is currently offline Andreas HoehmannFriend
Messages: 14
Registered: July 2009
Location: Leipzig
Junior Member
Please share the code. Github?
Re: Eclipse 4 and Web [message #902609 is a reply to message #902602] Sat, 18 August 2012 22:30 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
I created the account and repo in github:

https://github.com/semanticsoft/vaaclipse

I will commit the code as soon as I get home (it will be tomorrow 19 august evening or the afternoon of 20 august).

[Updated on: Sat, 18 August 2012 22:31]

Report message to a moderator

Re: Eclipse 4 and Web [message #902765 is a reply to message #902609] Mon, 20 August 2012 10:44 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
Can you advice any git GUI client under Windows? I want to commit the renderer sources today.

And one question. In the screenshots above the editor area was implemented with hack. Now I implement the MArea and want to reimplement the editor area as MArea aliaced with MPlaceholder from different perspectives. But the application editor doesn't allow add MArea to Shared Elements segment of Trimmed Window, only Part Sash Container, Part and Input Part allowed.
Re: Eclipse 4 and Web [message #902766 is a reply to message #902765] Mon, 20 August 2012 10:52 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

As Eclipse user you properly like EGit: http://www.vogella.com/articles/EGit/article.html
Re: Eclipse 4 and Web [message #902767 is a reply to message #902765] Mon, 20 August 2012 10:51 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Well Eclipse has a EGit to interface with your git repo. The editor
problem looks like a bug :-(

Tom

Am 20.08.12 12:44, schrieb Rushan Gilmullin:
> Can you advice any git GUI client under Windows? I want to commit the
> renderer sources today.
>
> And one question. In the screenshots above the editor area was
> implemented with hack. Now I implement the MArea and want to reimplement
> the editor area as MArea aliaced with MPlaceholder from different
> perspectives. But the application editor doesn't allow add MArea to
> Shared Elements segment of Trimmed Window, only Part Sash Container,
> Part and Input Part allowed.
Re: Eclipse 4 and Web [message #902879 is a reply to message #902766] Mon, 20 August 2012 20:44 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
Components published.

Was implemented Placeholders and Areas. Now the IDE demo will be done right. Now I created only frame of it and called it Cassandra Demo, in few days I move from old demo (called vaadock) to Cassandra.

Short description of published components.

1. org.semanticsoft.vaaclipse.app - bundle with main rcp application. It start the RCP application and async. event queue.
2. org.semanticsoft.vaaclipse.vaadinapp - bundle with vaadin application. It register using org.vaadin.osgi the Vaadin Application. Vaadin application is created per user session and per session workbench created. The details above in Thomas's message.
3. org.semanticsoft.vaaclipse.presentation - the renderer code.
4. org.semanticsoft.vaaclipse.behaviour - the eclipse e4 addons that add behavour to eclipse model. I made it total isolated from platform specific code (vaadin code). The idea was from Kai's generic renderer, but I remove abstract dependencies from platform code. Shortly, the behavour addon do this thing. When one property of model's element is changed, it cause the changes of properties other element's (or other props of this element). So, we must collect this waves of changes in one place and maximum decople it from Platform code. Kai Toedter did this in his generic renderer, I did his addon more isolated from platform removing even abstract dependencies from platform code.
5. org.semanticsoft.vaaclipse.resources - resources using by vaaclipse that deploed using org.vaadin.staticres
6. org.semanticsoft.vaaclipse.vaadinaddons - bundle with used vaadin addons
7. org.semanticsoft.vaaclipsedemo.cassandra.app - the demo cassandra project. Now it only carcas of showed above (screenshots above show the vaadock demo that now rewrite with new concepts - will be finished at this week). So, when prepared, it will be as in screens above.
8. org.semanticsoft.vaaclipsedemo.cassandra.resources - the resources of cassandra demo.

What is NOT published. Now I don't publish the client widgetset code - the modification of John Ahlroos's vaadin addon "dragdroplayouts". In future this modications must be done separately from this addon (I did fast hardcode to get it work as quickly as possible). If anyone interesting in it I can send sources or put it in temp repo. Also I don't publish the legacy demo vaadock (screenshots above). In few days vaadock's features will be move to Cassandra project in right way. And, at last, the drag and drop code. It partly located in client widgetset code (show previous note), the server support addon is need to be rewritten.

There are some issues how to use resources. Now working with resources is not ideal. All your resoure must be located in any fragment bundle (host bundle - com.vaadin) by path: platform:/plugin/your_fragment_bundle/VAADIN/themes/your_theme/... In future I want to locate the resources in any path and deploy it automatically to vaading theme, and so all working with resources must be transparent relative vaadin theme (we must not operate by Vaadin Theme, working at more high eclipse level).

Note: Was used the code fragments from Kai Toedter's generic renderer (I simple copy several files to do editing more easy of course with copyrites - when Kai or others will finilize the generic renderer it will be easy to go to resulting renderer dependency). Also I modified the John Ahlroos's great vaadin addon "dragdroplayouts" (the licence is allowed this), but in future this modifications must be fetched outside of John's addon - it is don't difficult.

[Updated on: Mon, 20 August 2012 21:24]

Report message to a moderator

Re: Eclipse 4 and Web [message #902960 is a reply to message #902879] Tue, 21 August 2012 12:25 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
https://github.com/semanticsoft/vaaclipse

Run project with Cassandra launch configuration. The project needs the target platform extension with this bundles:
com.vaadin_6.8.1.jar
org.vaadin.osgi.staticres_1.0.1.jar
org.vaadin.osgi_1.0.1.jar
(Window - Preferences - Target Platforms - select running platform and click edit, go to location tab and add the additional bundle locations - the directory with this 3 bundle).

ATTENTION!!! If you will create own elements in org.semanticsoft.vaaclipsedemo.cassandra.app/Application.e4xmi, be careful. The application model editor has bug - the element identifiers are not assigned correctly by default - the counter of last id segment is not increment, so you can create two placeholders with same id. This is not valid. At least the stacks and placeholders must have the unique id becouse they searched by id in vaaclipse. You must to specify unique id manually.
Re: Eclipse 4 and Web [message #902962 is a reply to message #902960] Tue, 21 August 2012 12:34 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
What will be done in this week.
1. Will be fixed the bug with collapsing some shared elements.
2. Will be implemented the fast view.
3. Cassandra demo will be upleveled to vaadock level (project explorer, files editor (if true - viewer), outline and console - all must work in simple demo mode).

The docking operations will be done in parrallel (it is already imlemented on client side), but this will be ready throw 2-3 week.

I planning to use vaaclipse in commercial project in end of semptember...

[Updated on: Tue, 21 August 2012 12:42]

Report message to a moderator

Re: Eclipse 4 and Web [message #902963 is a reply to message #902962] Tue, 21 August 2012 12:37 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
Sad to say I used some java 7 specific things, so java 7 needs to build project. If this is hard limitation, I can fix this places.
Re: Eclipse 4 and Web [message #902969 is a reply to message #902963] Tue, 21 August 2012 13:05 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
Thomas Schindl
If you want to make use of keybindings. I've extracted the binding logic
from JFace to make it widget independent.


Thank a lot, this is a very good. I want to use keybinding and other features of e4 workbench. Decoupling the e4 code from platform is a great direction of work.
Re: Eclipse 4 and Web [message #903010 is a reply to message #902969] Tue, 21 August 2012 15:33 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
Fixed bug when the helper stackwidget state doesn't update when perspective switch (so the shared area was unable to minimized in more then one perspective). Who checkouted project - do update please .
Re: Eclipse 4 and Web [message #903650 is a reply to message #902960] Fri, 24 August 2012 17:09 Go to previous messageGo to next message
Eclipse UserFriend
Rushan Gilmullin wrote on Tue, 21 August 2012 14:25

ATTENTION!!! If you will create own elements in org.semanticsoft.vaaclipsedemo.cassandra.app/Application.e4xmi, be careful. The application model editor has bug - the element identifiers are not assigned correctly by default - the counter of last id segment is not increment, so you can create two placeholders with same id. This is not valid. At least the stacks and placeholders must have the unique id becouse they searched by id in vaaclipse. You must to specify unique id manually.


I'll commit https://bugs.eclipse.org/bugs/show_bug.cgi?id=384675 shortly
Re: Eclipse 4 and Web [message #903785 is a reply to message #895717] Sun, 26 August 2012 00:03 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
Sopot Cela, thanks. It is very easy to forget increment the id and it will look as a bug. In ideal case the editor must show error or warning if a identifier is not unique.
Re: Eclipse 4 and Web [message #903786 is a reply to message #903785] Sun, 26 August 2012 00:09 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
The fast view implemented (a popup window that appear when click on minimized tabsheet or editor area button with content of tabsheet or area). Also was done other work and improvement. Will be commited at sunday after some improvement.

I think that to the second week of september it will be usable in test (or just prealpha) mode.

PS As I said above, it is under EPL.

[Updated on: Sun, 26 August 2012 00:14]

Report message to a moderator

Re: Eclipse 4 and Web [message #903873 is a reply to message #903786] Mon, 27 August 2012 01:17 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
Commit will be tomorrow, becouse current version has a bugs )). Big work was done since last comit. Now it very close to final version.
Re: Eclipse 4 and Web [message #903889 is a reply to message #903873] Mon, 27 August 2012 07:08 Go to previous messageGo to next message
Eclipse UserFriend
Nice.

I have opened an issue in the github repo and I think it is better to track the work there as this thread has done it's job
Re: Eclipse 4 and Web [message #903929 is a reply to message #903889] Mon, 27 August 2012 10:55 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
Sopot Cela wrote on Mon, 27 August 2012 03:08

I have opened an issue in the github repo and I think it is better to track the work there as this thread has done it's job


Ok, but where the link to the issue?
Re: Eclipse 4 and Web [message #903932 is a reply to message #903929] Mon, 27 August 2012 11:02 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
Commited. There are some bugs, will be fixed soon.
Info about commit:
--------------------------
The second large commit. This is the big step to final version.
Implemented:
1. Accurate positoning popup winow over components. The vaadin doesn't send to server the bounds info, so
some components sending sizes was implemented (see boundsinfo and org.semanticsoft.vaaclipse.widgets projects)
2. Parts activating via API (EPartSerice)
3. The fast view (popup view with partstack and editor area content that appear when minimized toolbar's button click)
implemented using 1 and 2.
4. The new project org.semanticsoft.vaaclipse.widgets created with vaadin widgets (including client side widgets).
Addon with widgets exported from this project must be placed in org.semanticsoft.vaaclipse.vaadinaddons project,
the compiled widetset must be copied to org.semanticsoft.vaclipse.resources project (compilation can be done
for example in outside helper project).
5. Refactoring, bugfixes, etc.

That is left to do:
1. Drag and drop (I think be ready to the middle of september)
2. Check it in real-life demo and do necessary modifications (part descriptions) and bugfixes. Cassandra demo will be ready in few days.
3. Finalization - the stable react on model changes, bugfixes, etc.
Re: Eclipse 4 and Web [message #903933 is a reply to message #903929] Mon, 27 August 2012 11:08 Go to previous messageGo to next message
Eclipse UserFriend
Rushan Gilmullin wrote on Mon, 27 August 2012 12:55
Sopot Cela wrote on Mon, 27 August 2012 03:08

I have opened an issue in the github repo and I think it is better to track the work there as this thread has done it's job


Ok, but where the link to the issue?


https://github.com/semanticsoft/vaaclipse/issues/1

You should have received the email notification anyway.
Re: Eclipse 4 and Web [message #903936 is a reply to message #903933] Mon, 27 August 2012 11:13 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
Quote:
You should have received the email notification anyway.


O, my email drowned in tonns of spam, so I don't read it. I'll check messages and will repply.

[Updated on: Mon, 27 August 2012 11:13]

Report message to a moderator

Re: Eclipse 4 and Web [message #903939 is a reply to message #903936] Mon, 27 August 2012 11:25 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
Sorry, I forget to write, after starting the launch configuration go to http://localhost/vaadinapp in firefox.
Please, use only firefox, becouse current css-ctyles doesn't work in some other browsers (I am terrible web-designer ( ).

[Updated on: Mon, 27 August 2012 11:26]

Report message to a moderator

Re: Eclipse 4 and Web [message #904905 is a reply to message #895717] Wed, 29 August 2012 11:05 Go to previous message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
The info about development process in future will be published at github prject page (see the project page and issues). Last report: the problems with client hangs caused by frequent update is fixed (the additional info see in correpondence issue in github) and now I will begin work on cassandra demo and changes on renderer that required to implement this demo in right way.
Previous Topic:Need help for SWTBot with Menus, and e4 in general
Next Topic:App error please
Goto Forum:
  


Current Time: Tue Apr 16 12:35:14 GMT 2024

Powered by FUDForum. Page generated in 0.77648 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top