Anyone Ported the Nebula-PShelf-API to RAP [message #128850] |
Mon, 20 April 2009 08:06  |
Eclipse User |
|
|
|
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 #129298 is a reply to message #129287] |
Tue, 21 April 2009 17:20  |
Eclipse User |
|
|
|
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
>>>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.04277 seconds