Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Problems editing items in property sheet
Problems editing items in property sheet [message #445723] Tue, 09 November 2004 23:21 Go to next message
Eclipse UserFriend
Hi,

I was trying to modify the Flow example of GEF to test and wanted to add
couple of more items to the property sheet of an Activity.
I do see the items in the sheet but when I try to change the values, I
get the following error.

Unhandled event loop exception
Reason:
Assertion failed:

I have added the property as a TextPropertyDescriptor and also taken
care of it in the getPropertyValue and setPropertyValue along with
writing a getter/setter for the property and calling firePropertyChange
in the setter.

Am i missing somethings?

Thanks
Re: Problems editing items in property sheet [message #445757 is a reply to message #445723] Wed, 10 November 2004 10:37 Go to previous messageGo to next message
Eclipse UserFriend
Property sheet is provided by the UI team. You should ask this question in
the eclipse platform newsgroup:

news://news.eclipse.org/eclipse.platform

"Ranjit" <ranjit@notMyId.com> wrote in message
news:cms4uk$c44$1@eclipse.org...
> Hi,
>
> I was trying to modify the Flow example of GEF to test and wanted to add
> couple of more items to the property sheet of an Activity.
> I do see the items in the sheet but when I try to change the values, I get
> the following error.
>
> Unhandled event loop exception
> Reason:
> Assertion failed:
>
> I have added the property as a TextPropertyDescriptor and also taken care
> of it in the getPropertyValue and setPropertyValue along with writing a
> getter/setter for the property and calling firePropertyChange in the
> setter.
>
> Am i missing somethings?
>
> Thanks
Re: Problems editing items in property sheet [message #445758 is a reply to message #445723] Wed, 10 November 2004 10:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

This usually occurs because a null was set into the cell editor. The
stack trace in the .log file will usually pinpoint where in the code the
assertion was and so you can look at that assertion and see what was wrong.


--
Thanks,
Rich Kulp
Re: Problems editing items in property sheet [message #445770 is a reply to message #445723] Wed, 10 November 2004 15:53 Go to previous message
Eclipse UserFriend
Ranjit wrote:
> Hi,
>
> I was trying to modify the Flow example of GEF to test and wanted to add
> couple of more items to the property sheet of an Activity.
> I do see the items in the sheet but when I try to change the values, I
> get the following error.
>
> Unhandled event loop exception
> Reason:
> Assertion failed:
>
> I have added the property as a TextPropertyDescriptor and also taken
> care of it in the getPropertyValue and setPropertyValue along with
> writing a getter/setter for the property and calling firePropertyChange
> in the setter.
>
> Am i missing somethings?
>
> Thanks

Veronica, sorry.
I will post futher queries regarding Property sheet to the platform
newsgroup.
Thanks Rich, the log file does give me some lead.

-Ranjit
Previous Topic:open source SWT HtmlEditor
Next Topic:Information about "Display.mouseHoverProc"
Goto Forum:
  


Current Time: Fri Jul 04 14:25:15 EDT 2025

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

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

Back to the top