[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] RCP: EditorPart and IsDirty

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