Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Problems editing items in property sheet
Problems editing items in property sheet [message #445723] Wed, 10 November 2004 04:21 Go to next message
Ranjit is currently offline RanjitFriend
Messages: 7
Registered: July 2009
Junior Member
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 15:37 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
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 15: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 20:53 Go to previous message
Ranjit is currently offline RanjitFriend
Messages: 7
Registered: July 2009
Junior Member
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: Tue Oct 27 09:12:47 GMT 2020

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

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

Back to the top