Rearrangement of controls [message #492162] |
Mon, 19 October 2009 08:18 |
Eclipse User |
|
|
|
Originally posted by: niels.lippke.airpas.com
Hi,
the SWT-API allows to change the parent of controls (on some OS) via
public boolean setParent ( Composite parent );
Since qooxdoo also allows to change the parent, is it possible to add this
feature to RAP?
Regards, Niels
|
|
|
|
Re: Rearrangement of controls [message #492408 is a reply to message #492395] |
Tue, 20 October 2009 11:18 |
|
Hi,
reparenting is not yet possible in RAP. The methods
Control#isReparentable() and Control#setParent() both return false. We
implemented these methods to enable single sourcing.
Our experience is that qooxdoo (at least 0.7.x) does not really support
reparenting. We need this feature at some places (e.g. the parent of
controls added to ToolBars can change on the client) and found lots of
related problems. A general support for reparenting in RAP will be
extremely hard if not impossible to implement with the current qooxdoo
version.
Best regards, Ralf
Stefan Roeck wrote:
> The N&N say that this is possible since 1.3M2
> (http://www.eclipse.org/rap/noteworthy/news_13M2.php)
> However, I haven't tried it yet.
>
> Regards,
> Stefan.
>
> Niels Lippke schrieb:
>> Hi,
>>
>> the SWT-API allows to change the parent of controls (on some OS) via
>>
>> public boolean setParent ( Composite parent );
>>
>> Since qooxdoo also allows to change the parent, is it possible to add
>> this feature to RAP?
>>
>> Regards, Niels
|
|
|
Powered by
FUDForum. Page generated in 0.03066 seconds