Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Gallery: make getGroup() public?
Gallery: make getGroup() public? [message #54199] Fri, 06 June 2008 09:19 Go to next message
Justin Dolezy is currently offline Justin DolezyFriend
Messages: 68
Registered: July 2009
Member
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 08:04 Go to previous messageGo to next message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
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 09:31 Go to previous messageGo to next message
Justin Dolezy is currently offline Justin DolezyFriend
Messages: 68
Registered: July 2009
Member
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 09:55 Go to previous message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
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 08:04 Go to previous message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
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 09:31 Go to previous message
Justin Dolezy is currently offline Justin DolezyFriend
Messages: 68
Registered: July 2009
Member
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 09:55 Go to previous message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
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: Thu Apr 25 23:33:59 GMT 2024

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

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

Back to the top