Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Getting modify Event from text widget out to editor
Getting modify Event from text widget out to editor [message #442046] Fri, 27 August 2004 14:04 Go to next message
Farrell is currently offline FarrellFriend
Messages: 1
Registered: July 2009
Junior Member
Hi.

I have wrapped a table in my own EditableTable Composite and incorporated
a TableCursor and embedded Text widgets for in-place text editing. I use
this Composite both in a wizard, and in a multi-page editor. What I am now
trying (and failing) to do, is to trigger a PROP_DIRTY property change for
the EditorPart. I can rely on the ModifyEvent from the Text Widget to find
out when the text has changed, and I can use this to fire an event from my
EditableTable Composite. However, I have been struggling to find something
meaningful to fire, which the Editor wil bother to listen too. The
PropertyChangeEvent that a Composite can generate (String name) appears
not to be compatible with the PropertyListener in the MultiPageEditorPart
(wants an int as property value). I'm sure I am missing something
blatantly obvious, but I can't see what it is.

Thanks,

Farrell.
Re: Getting modify Event from text widget out to editor [message #442071 is a reply to message #442046] Fri, 27 August 2004 15:33 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Please ask this question in the eclipse.platform newsgroup:

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

"Farrell" <Farrell.Farthing.extern@hvbsystems.c0m> wrote in message
news:cgnf1i$trr$1@eclipse.org...
> Hi.
>
> I have wrapped a table in my own EditableTable Composite and incorporated
> a TableCursor and embedded Text widgets for in-place text editing. I use
> this Composite both in a wizard, and in a multi-page editor. What I am now
> trying (and failing) to do, is to trigger a PROP_DIRTY property change for
> the EditorPart. I can rely on the ModifyEvent from the Text Widget to find
> out when the text has changed, and I can use this to fire an event from my
> EditableTable Composite. However, I have been struggling to find something
> meaningful to fire, which the Editor wil bother to listen too. The
> PropertyChangeEvent that a Composite can generate (String name) appears
> not to be compatible with the PropertyListener in the MultiPageEditorPart
> (wants an int as property value). I'm sure I am missing something
> blatantly obvious, but I can't see what it is.
>
> Thanks,
>
> Farrell.
>
>
>
Previous Topic:How to add children to a Tree inside treeExpanded()
Next Topic:How to place widgets within a spezial are in my custom control
Goto Forum:
  


Current Time: Tue Apr 16 22:00:04 GMT 2024

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

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

Back to the top