Gallery: make getGroup() public? [message #54199] |
Fri, 06 June 2008 05:19  |
Eclipse User |
|
|
|
Question for Nicolas I guess!
Can Gallery.getGroup() be exposed as public??
I need this for drag'n'drop support... obviously there's no GalleryItem in
empty areas so can't getParentItem.
Thanks,
Justin
|
|
|
|
|
Re: Gallery: make getGroup() public? [message #54738 is a reply to message #54438] |
Sat, 21 June 2008 05:55  |
Eclipse User |
|
|
|
Hi Justin,
getGroup() is now public, see latest version on CVS.
--
Nicolas
Justin Dolezy a écrit :
> Hi Nicolas,
>
> I can't remember what cut of the code I have but I did try the 2nd idea
> of changing getItem and, as you say, it broke things big time. I made
> getGroup public and this did the trick - this is what I'd prefer as it'd
> be the most straightforward change with no side effects on others.
>
> Justin
>
> Nicolas Richeton wrote:
>
>> Hi,
>
>> There are 2 options here :
>> * make getGroup public
>> * change getItem so it returns the group if there is no child item
>> under the mouse. But this can break some applications.
>
>> I'm not sure which one is the best right now. I have to check Table
>> and Tree API.
>
>> Would this 2 options work for you ?
>
>> --
>> Nicolas
>
>> Justin Dolezy a écrit :
>>> Question for Nicolas I guess!
>>>
>>> Can Gallery.getGroup() be exposed as public??
>>>
>>> I need this for drag'n'drop support... obviously there's no
>>> GalleryItem in empty areas so can't getParentItem.
>>>
>>> Thanks,
>>> Justin
>>>
>>>
>
>
|
|
|
Re: Gallery: make getGroup() public? [message #590416 is a reply to message #54199] |
Wed, 11 June 2008 04:04  |
Eclipse User |
|
|
|
Hi,
There are 2 options here :
* make getGroup public
* change getItem so it returns the group if there is no child item under
the mouse. But this can break some applications.
I'm not sure which one is the best right now. I have to check Table and
Tree API.
Would this 2 options work for you ?
--
Nicolas
Justin Dolezy a écrit :
> Question for Nicolas I guess!
>
> Can Gallery.getGroup() be exposed as public??
>
> I need this for drag'n'drop support... obviously there's no GalleryItem
> in empty areas so can't getParentItem.
>
> Thanks,
> Justin
>
>
|
|
|
Re: Gallery: make getGroup() public? [message #590425 is a reply to message #54413] |
Wed, 11 June 2008 05:31  |
Eclipse User |
|
|
|
Hi Nicolas,
I can't remember what cut of the code I have but I did try the 2nd idea of
changing getItem and, as you say, it broke things big time. I made
getGroup public and this did the trick - this is what I'd prefer as it'd
be the most straightforward change with no side effects on others.
Justin
Nicolas Richeton wrote:
> Hi,
> There are 2 options here :
> * make getGroup public
> * change getItem so it returns the group if there is no child item under
> the mouse. But this can break some applications.
> I'm not sure which one is the best right now. I have to check Table and
> Tree API.
> Would this 2 options work for you ?
> --
> Nicolas
> Justin Dolezy a écrit :
>> Question for Nicolas I guess!
>>
>> Can Gallery.getGroup() be exposed as public??
>>
>> I need this for drag'n'drop support... obviously there's no GalleryItem
>> in empty areas so can't getParentItem.
>>
>> Thanks,
>> Justin
>>
>>
|
|
|
Re: Gallery: make getGroup() public? [message #590548 is a reply to message #54438] |
Sat, 21 June 2008 05:55  |
Eclipse User |
|
|
|
Hi Justin,
getGroup() is now public, see latest version on CVS.
--
Nicolas
Justin Dolezy a écrit :
> Hi Nicolas,
>
> I can't remember what cut of the code I have but I did try the 2nd idea
> of changing getItem and, as you say, it broke things big time. I made
> getGroup public and this did the trick - this is what I'd prefer as it'd
> be the most straightforward change with no side effects on others.
>
> Justin
>
> Nicolas Richeton wrote:
>
>> Hi,
>
>> There are 2 options here :
>> * make getGroup public
>> * change getItem so it returns the group if there is no child item
>> under the mouse. But this can break some applications.
>
>> I'm not sure which one is the best right now. I have to check Table
>> and Tree API.
>
>> Would this 2 options work for you ?
>
>> --
>> Nicolas
>
>> Justin Dolezy a écrit :
>>> Question for Nicolas I guess!
>>>
>>> Can Gallery.getGroup() be exposed as public??
>>>
>>> I need this for drag'n'drop support... obviously there's no
>>> GalleryItem in empty areas so can't getParentItem.
>>>
>>> Thanks,
>>> Justin
>>>
>>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03900 seconds