Skip to main content



      Home
Home » Eclipse Projects » Nebula » Gallery: make getGroup() public?
Gallery: make getGroup() public? [message #54199] Fri, 06 June 2008 05:19 Go to next message
Eclipse UserFriend
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 #54413 is a reply to message #54199] Wed, 11 June 2008 04:04 Go to previous messageGo to next message
Eclipse UserFriend
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 #54438 is a reply to message #54413] Wed, 11 June 2008 05:31 Go to previous messageGo to next message
Eclipse UserFriend
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 #54738 is a reply to message #54438] Sat, 21 June 2008 05:55 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>>>
>>>
>
>
Previous Topic:position of image
Next Topic:Patch for CDateTime behaviour
Goto Forum:
  


Current Time: Sat May 10 06:54:43 EDT 2025

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

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

Back to the top