Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Anyone Ported the Nebula-PShelf-API to RAP
Anyone Ported the Nebula-PShelf-API to RAP [message #128850] Mon, 20 April 2009 12:06 Go to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6609
Registered: July 2009
Senior Member
Hi,

Before I start doing such a thing I'd like to query here whether someone
has already done this and:

a) Published the code under EPL
b) If not published the code has some pointers what might be the best
strategy to make this happen

I'm currently investigating 2 different things:
a) Looking into the ExpandBar implementation and modify it to make it
work similar to an PShelf
b) Looking into Qooxdoo and their layouts the Grid-Layout goes into the
right direction [1]

I don't want to port the fancy drawing stuff - only the functionality!

Tom

[1] http://demo.qooxdoo.org/current/demobrowser/#layout~Grid_Ani mated.html
Re: Anyone Ported the Nebula-PShelf-API to RAP [message #128969 is a reply to message #128850] Mon, 20 April 2009 18:46 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Tom Schindl wrote:
> Hi,
>
> Before I start doing such a thing I'd like to query here whether someone
> has already done this and:
>
> a) Published the code under EPL
> b) If not published the code has some pointers what might be the best
> strategy to make this happen
>
> I'm currently investigating 2 different things:
> a) Looking into the ExpandBar implementation and modify it to make it
> work similar to an PShelf
I haven't worked with PShelf yet, but from the snippets and the
screenshot it looks much the same as the ExpandBar if one leaves
aside the appearance.
This would be my first attempt. The fact that PShelfItems apparently
can handle Composites should not matter on the client-side
implementation.
If a protoypish solution is sufficient, creating a custom widget
using composition could be even quicker.

> b) Looking into Qooxdoo and their layouts the Grid-Layout goes into the
> right direction [1]
Using client-side layouts do not work for Composites that layout
their children. The layout-information needs to be on the server-side.

>
> I don't want to port the fancy drawing stuff - only the functionality!
>
> Tom
>
> [1] http://demo.qooxdoo.org/current/demobrowser/#layout~Grid_Ani mated.html
Re: Anyone Ported the Nebula-PShelf-API to RAP [message #128982 is a reply to message #128969] Mon, 20 April 2009 18:54 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6609
Registered: July 2009
Senior Member
Hi Rüdiger,

Thanks for your reply. I made good progress today using Composition
using ordinary Composites and GridLayout. I can live without the
animation stuff for now.

There's only one thing left for now. I need to set a background image to
mimic the gradient drawn by the original Nebula control everything else
works quite nicely.

Tom

Rüdiger Herrmann schrieb:
> Tom Schindl wrote:
>> Hi,
>>
>> Before I start doing such a thing I'd like to query here whether someone
>> has already done this and:
>>
>> a) Published the code under EPL
>> b) If not published the code has some pointers what might be the best
>> strategy to make this happen
>>
>> I'm currently investigating 2 different things:
>> a) Looking into the ExpandBar implementation and modify it to make it
>> work similar to an PShelf
> I haven't worked with PShelf yet, but from the snippets and the
> screenshot it looks much the same as the ExpandBar if one leaves
> aside the appearance.
> This would be my first attempt. The fact that PShelfItems apparently
> can handle Composites should not matter on the client-side
> implementation.
> If a protoypish solution is sufficient, creating a custom widget
> using composition could be even quicker.
>
>> b) Looking into Qooxdoo and their layouts the Grid-Layout goes into the
>> right direction [1]
> Using client-side layouts do not work for Composites that layout
> their children. The layout-information needs to be on the server-side.
>
>>
>> I don't want to port the fancy drawing stuff - only the functionality!
>>
>> Tom
>>
>> [1] http://demo.qooxdoo.org/current/demobrowser/#layout~Grid_Ani mated.html
>
Re: Anyone Ported the Nebula-PShelf-API to RAP [message #129168 is a reply to message #128969] Tue, 21 April 2009 12:28 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6609
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010004020607020907070101
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

Hi R
Re: Anyone Ported the Nebula-PShelf-API to RAP [message #129287 is a reply to message #129168] Tue, 21 April 2009 20:51 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Hi Tom,

glad to hear you succeeded. For scaling the gradient there is no
easy way to solve this in RAP as of now. Lets hope the default
images sizes don't change too fast;)
If you would like to maintain the code in the RAP repository, please
let us know. We a re currently in the process of creating an
incubator project [1].

Cheers,
Rüdiger

[1] http://www.eclipse.org/proposals/rap-incubator/

Tom Schindl wrote:
> Hi Rüdiger,
>
> I now had some more time playing around and here is the final result
> which I'm quite happy with because I use pure composition I have no
> animation effects but expanding/collapsing works like a charme using
> layouts (and looks nearly 100% the same than the Nebula-Pendant).
>
> The widget API (without the GC-Stuff) is 100% the same than the one you
> have with the Nebula-PShelf/PShelfItem.
>
> An unresolved problem I could also live with as of now is what happens
> if the user assigns a smaller/bigger image but because they are
> standardized this is not a problem to me now.
>
> Tom
>
> Rüdiger Herrmann schrieb:
>> Tom Schindl wrote:
>>> Hi,
>>>
>>> Before I start doing such a thing I'd like to query here whether someone
>>> has already done this and:
>>>
>>> a) Published the code under EPL
>>> b) If not published the code has some pointers what might be the best
>>> strategy to make this happen
>>>
>>> I'm currently investigating 2 different things:
>>> a) Looking into the ExpandBar implementation and modify it to make it
>>> work similar to an PShelf
>> I haven't worked with PShelf yet, but from the snippets and the
>> screenshot it looks much the same as the ExpandBar if one leaves
>> aside the appearance.
>> This would be my first attempt. The fact that PShelfItems apparently
>> can handle Composites should not matter on the client-side
>> implementation.
>> If a protoypish solution is sufficient, creating a custom widget
>> using composition could be even quicker.
>>
>>> b) Looking into Qooxdoo and their layouts the Grid-Layout goes into the
>>> right direction [1]
>> Using client-side layouts do not work for Composites that layout
>> their children. The layout-information needs to be on the server-side.
>>
>>> I don't want to port the fancy drawing stuff - only the functionality!
>>>
>>> Tom
>>>
>>> [1] http://demo.qooxdoo.org/current/demobrowser/#layout~Grid_Ani mated.html
>
Re: Anyone Ported the Nebula-PShelf-API to RAP [message #129298 is a reply to message #129287] Tue, 21 April 2009 21:20 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6609
Registered: July 2009
Senior Member
Hi Rüdiger,

I started experimenting with the GCCanvas but didn't finished yet but it
would give me the gradient.

I guess I won't be allowed to put this code into the public domain
because my company works as a contracter and the copyright is transfered
to our customer.

Tom

Rüdiger Herrmann schrieb:
> Hi Tom,
>
> glad to hear you succeeded. For scaling the gradient there is no easy
> way to solve this in RAP as of now. Lets hope the default images sizes
> don't change too fast;)
> If you would like to maintain the code in the RAP repository, please let
> us know. We a re currently in the process of creating an incubator
> project [1].
>
> Cheers,
> Rüdiger
>
> [1] http://www.eclipse.org/proposals/rap-incubator/
>
> Tom Schindl wrote:
>> Hi Rüdiger,
>>
>> I now had some more time playing around and here is the final result
>> which I'm quite happy with because I use pure composition I have no
>> animation effects but expanding/collapsing works like a charme using
>> layouts (and looks nearly 100% the same than the Nebula-Pendant).
>>
>> The widget API (without the GC-Stuff) is 100% the same than the one you
>> have with the Nebula-PShelf/PShelfItem.
>>
>> An unresolved problem I could also live with as of now is what happens
>> if the user assigns a smaller/bigger image but because they are
>> standardized this is not a problem to me now.
>>
>> Tom
>>
>> Rüdiger Herrmann schrieb:
>>> Tom Schindl wrote:
>>>> Hi,
>>>>
>>>> Before I start doing such a thing I'd like to query here whether
>>>> someone
>>>> has already done this and:
>>>>
>>>> a) Published the code under EPL
>>>> b) If not published the code has some pointers what might be the best
>>>> strategy to make this happen
>>>>
>>>> I'm currently investigating 2 different things:
>>>> a) Looking into the ExpandBar implementation and modify it to make it
>>>> work similar to an PShelf
>>> I haven't worked with PShelf yet, but from the snippets and the
>>> screenshot it looks much the same as the ExpandBar if one leaves
>>> aside the appearance.
>>> This would be my first attempt. The fact that PShelfItems apparently
>>> can handle Composites should not matter on the client-side
>>> implementation.
>>> If a protoypish solution is sufficient, creating a custom widget
>>> using composition could be even quicker.
>>>
>>>> b) Looking into Qooxdoo and their layouts the Grid-Layout goes into the
>>>> right direction [1]
>>> Using client-side layouts do not work for Composites that layout
>>> their children. The layout-information needs to be on the server-side.
>>>
>>>> I don't want to port the fancy drawing stuff - only the functionality!
>>>>
>>>> Tom
>>>>
>>>> [1] http://demo.qooxdoo.org/current/demobrowser/#layout~Grid_Ani mated.html
>>>>
>>
Previous Topic:Session timeout error
Next Topic:Anyone at JAX
Goto Forum:
  


Current Time: Sun Dec 05 21:37:04 GMT 2021

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

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

Back to the top