Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Problem with ComboBox Property Descriptor
Problem with ComboBox Property Descriptor [message #134054] Tue, 25 May 2004 22:36
Eclipse UserFriend
Originally posted by: shaiju.exorindia.com

Hi All
I am creating a plugin just like the logic example plugin. I created
a label and that is showing in the palette. I have created a 'visible
property for that label .For the purpose of showing that in the properties
view I am using combobox property descriptor .Thing is working except when I
select true or false and move focus to some other position from the
corresponding cell of the property instead of showing the text true or false
it is showing the index value 0 or 1. but when I take the focus again to
that cell it will show the correct text value. Why that combobox is not
showing the text value. Is there anything to do for that. Please help
me
Wth regards
Shaiju.P
Re: Problem with ComboBox Property Descriptor [message #134063 is a reply to message #134054] Tue, 25 May 2004 11:24 Go to previous message
Eclipse UserFriend
Originally posted by: brian.fernandes.codito.com

Hi Shaiju,

I've come across this before - mostly because of some silly mistake while
working with the PropertyDescriptors. Unfortunately, I can't remember what
exactly caused the problem :(

Perhaps you should recheck your LabelProvider

All the best,
Brian.


"Shaiju" <shaiju@exorindia.com> wrote in message
news:c8v5cg$j4h$1@eclipse.org...
> Hi All
> I am creating a plugin just like the logic example plugin. I
created
> a label and that is showing in the palette. I have created a 'visible
> property for that label .For the purpose of showing that in the
properties
> view I am using combobox property descriptor .Thing is working except when
I
> select true or false and move focus to some other position from the
> corresponding cell of the property instead of showing the text true or
false
> it is showing the index value 0 or 1. but when I take the focus again to
> that cell it will show the correct text value. Why that combobox is not
> showing the text value. Is there anything to do for that. Please help
> me
> Wth regards
> Shaiju.P
>
>
Re: Problem with ComboBox Property Descriptor [message #134072 is a reply to message #134063] Tue, 25 May 2004 11:59 Go to previous message
Eclipse UserFriend
Originally posted by: rlemaigr.ulb.ac.be

I've had the same problem too but I let it like that because I was too =

lazy to try to find a solution (always finding solutions to everything i=
s =

a very exhausting sport :D )...

What do you mean by LabelProvider ? PropertySheets and PropertyDescripto=
rs =

have LabelProviders ?
Thank you for the indication I will look at that kind of thing the next =
=

time I cross this problem...

r=E9gis

On Tue, 25 May 2004 16:54:49 +0530, Brian Fernandes =

<brian.fernandes@codito.com> wrote:

> Hi Shaiju,
>
> I've come across this before - mostly because of some silly mistake wh=
ile
> working with the PropertyDescriptors. Unfortunately, I can't remember=
=

> what
> exactly caused the problem :(
>
> Perhaps you should recheck your LabelProvider
>
> All the best,
> Brian.
>
>
> "Shaiju" <shaiju@exorindia.com> wrote in message
> news:c8v5cg$j4h$1@eclipse.org...
>> Hi All
>> I am creating a plugin just like the logic example plugin. I
> created
>> a label and that is showing in the palette. I have created a 'visible=

>> property for that label .For the purpose of showing that in the
> properties
>> view I am using combobox property descriptor .Thing is working except=
=

>> when
> I
>> select true or false and move focus to some other position from the
>> corresponding cell of the property instead of showing the text true o=
r
> false
>> it is showing the index value 0 or 1. but when I take the focus again=
to
>> that cell it will show the correct text value. Why that combobox is =
not
>> showing the text value. Is there anything to do for that. Please help=

>> me
>> Wth regards
>> Shaiju.P
>>
>>
>
>



-- =

Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
Previous Topic:control which items can be parents for new items 'clicked' rather than dragged from the palette
Next Topic:native drag and drop
Goto Forum:
  


Current Time: Fri Apr 26 12:30:09 GMT 2024

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

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

Back to the top