Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Eclipse 4 and Web(Vaadin renderer for Eclipse 4)
Re: Eclipse 4 and Web [message #902766 is a reply to message #902765] Mon, 20 August 2012 06:52 Go to previous messageGo to next message
Lars Vogel is currently offline Lars Vogel
Messages: 1043
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 06:51 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 4462
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 16:44 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan Gilmullin
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 17:24]

Report message to a moderator

Re: Eclipse 4 and Web [message #902960 is a reply to message #902879] Tue, 21 August 2012 08:25 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan Gilmullin
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 08:34 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan Gilmullin
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 08:42]

Report message to a moderator

Re: Eclipse 4 and Web [message #902963 is a reply to message #902962] Tue, 21 August 2012 08:37 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan Gilmullin
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 09:05 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan Gilmullin
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 11:33 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan Gilmullin
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 13:09 Go to previous messageGo to next message
Sopot Cela is currently offline Sopot Cela
Messages: 448
Registered: December 2010
Senior Member

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] Sat, 25 August 2012 20:03 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan Gilmullin
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] Sat, 25 August 2012 20:09 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan Gilmullin
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: Sat, 25 August 2012 20:14]

Report message to a moderator

Re: Eclipse 4 and Web [message #903873 is a reply to message #903786] Sun, 26 August 2012 21:17 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan Gilmullin
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 03:08 Go to previous messageGo to next message
Sopot Cela is currently offline Sopot Cela
Messages: 448
Registered: December 2010
Senior Member

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 06:55 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan Gilmullin
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 07:02 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan Gilmullin
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 07:08 Go to previous messageGo to next message
Sopot Cela is currently offline Sopot Cela
Messages: 448
Registered: December 2010
Senior Member

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 07:13 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan Gilmullin
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 07:13]

Report message to a moderator

Re: Eclipse 4 and Web [message #903939 is a reply to message #903936] Mon, 27 August 2012 07:25 Go to previous messageGo to next message
Rushan Gilmullin is currently offline Rushan Gilmullin
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 07:26]

Report message to a moderator

Re: Eclipse 4 and Web [message #904905 is a reply to message #895717] Wed, 29 August 2012 07:05 Go to previous message
Rushan Gilmullin is currently offline Rushan Gilmullin
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: Thu May 23 02:51:03 EDT 2013

Powered by FUDForum. Page generated in 0.02579 seconds