Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » RCP: EditorPart and IsDirty
RCP: EditorPart and IsDirty [message #328394] Fri, 23 May 2008 18:29
Marco Schwarz is currently offline Marco SchwarzFriend
Messages: 13
Registered: July 2009
Location: Plaus - Italy
Junior Member

Hi,

my name ist Marco from Southtirol, Italy and I have a question:

I wrote a TrainingEditor extends EditorPart. Use JFace Databinding to
bind SWT Bean and my ModelObject, it works fine.

The isDirty() funktion:

@Override
public boolean isDirty() {
return training.getDirty();
}


How can I say the form, when the property Dirty of my Model has changed
it. So I can fire firePropertyChange(IEditorPart.PROP_DIRTY);

Have anyone a sugest or an example so can I can learn it?

Thanks
Marco
Previous Topic:Default menues for an RCP
Next Topic:Cannot add problem marker to project in custom classpath container code
Goto Forum:
  


Current Time: Fri Aug 23 05:49:08 GMT 2024

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

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

Back to the top