Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » How can I force the VE to display a property's real value?
How can I force the VE to display a property's real value? [message #144136] Tue, 25 March 2008 10:52 Go to next message
Eclipse UserFriend
Originally posted by: eli_lato.hotmail.com

In the Property Sheet, the designer types 100 for a property. My minimum for this property is 120. So my setter for this property sets 120 instead of 100, and my getter would return 120. But the Property Sheet still displays 100.

Is there a way to programmatically force the Property Sheet to display 120?

Thanks,
Eli
Re: How can I force the VE to display a property's real value? [message #144209 is a reply to message #144136] Fri, 28 March 2008 13:39 Go to previous messageGo to next message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
Could you report a bug ?

Best regards
Yves YANG
---
http://www.soyatec.com
"Eli Lato" <eli_lato@hotmail.com> wrote in message
news:4013126.11981206442393622.JavaMail.root@cp1.dzone.com...
> In the Property Sheet, the designer types 100 for a property. My minimum
> for this property is 120. So my setter for this property sets 120 instead
> of 100, and my getter would return 120. But the Property Sheet still
> displays 100.
>
> Is there a way to programmatically force the Property Sheet to display
> 120?
>
> Thanks,
> Eli
Re: How can I force the VE to display a property's real value? [message #144254 is a reply to message #144209] Mon, 31 March 2008 19:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

There is a good reason for this. It shows what was physically set in the
code. Your actual code says x.setPropA(100); So without that you would
not know that it is set with that value.

Yves YANG wrote:
> Could you report a bug ?
>
> Best regards
> Yves YANG
> ---
> http://www.soyatec.com
> "Eli Lato" <eli_lato@hotmail.com> wrote in message
> news:4013126.11981206442393622.JavaMail.root@cp1.dzone.com...
>> In the Property Sheet, the designer types 100 for a property. My
>> minimum for this property is 120. So my setter for this property sets
>> 120 instead of 100, and my getter would return 120. But the Property
>> Sheet still displays 100.
>>
>> Is there a way to programmatically force the Property Sheet to display
>> 120?
>>
>> Thanks,
>> Eli
>

--
Thanks,
Rich Kulp
Re: How can I force the VE to display a property's real value? [message #144298 is a reply to message #144254] Wed, 02 April 2008 08:58 Go to previous message
Eclipse UserFriend
Originally posted by: eli_lato.hotmail.com

OK. I understand the logic, but there's still a need to tell the designer what the real value is.

Is there a way for me to tell the PS to listen to me? Then I could fire a change to him, and he would update himself.

Thanks,
Eli
Re: How can I force the VE to display a property's real value? [message #617009 is a reply to message #144136] Fri, 28 March 2008 13:39 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
Could you report a bug ?

Best regards
Yves YANG
---
http://www.soyatec.com
"Eli Lato" <eli_lato@hotmail.com> wrote in message
news:4013126.11981206442393622.JavaMail.root@cp1.dzone.com...
> In the Property Sheet, the designer types 100 for a property. My minimum
> for this property is 120. So my setter for this property sets 120 instead
> of 100, and my getter would return 120. But the Property Sheet still
> displays 100.
>
> Is there a way to programmatically force the Property Sheet to display
> 120?
>
> Thanks,
> Eli
Re: How can I force the VE to display a property's real value? [message #617014 is a reply to message #144209] Mon, 31 March 2008 19:54 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

There is a good reason for this. It shows what was physically set in the
code. Your actual code says x.setPropA(100); So without that you would
not know that it is set with that value.

Yves YANG wrote:
> Could you report a bug ?
>
> Best regards
> Yves YANG
> ---
> http://www.soyatec.com
> "Eli Lato" <eli_lato@hotmail.com> wrote in message
> news:4013126.11981206442393622.JavaMail.root@cp1.dzone.com...
>> In the Property Sheet, the designer types 100 for a property. My
>> minimum for this property is 120. So my setter for this property sets
>> 120 instead of 100, and my getter would return 120. But the Property
>> Sheet still displays 100.
>>
>> Is there a way to programmatically force the Property Sheet to display
>> 120?
>>
>> Thanks,
>> Eli
>

--
Thanks,
Rich Kulp
Re: How can I force the VE to display a property's real value? [message #617019 is a reply to message #144254] Wed, 02 April 2008 08:58 Go to previous message
Eli Lato is currently offline Eli LatoFriend
Messages: 35
Registered: July 2009
Member
OK. I understand the logic, but there's still a need to tell the designer what the real value is.

Is there a way for me to tell the PS to listen to me? Then I could fire a change to him, and he would update himself.

Thanks,
Eli
Previous Topic:roadmap
Next Topic:How do I tell VE to discard its cache?
Goto Forum:
  


Current Time: Thu Apr 25 14:56:14 GMT 2024

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

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

Back to the top