Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » RCP: EditorPart and IsDirty
RCP: EditorPart and IsDirty [message #328394] Fri, 23 May 2008 14:29
Eclipse UserFriend
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: Wed Mar 12 00:26:25 EDT 2025

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

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

Back to the top