isDirty [message #237789] |
Thu, 09 August 2007 07:35 |
Eclipse User |
|
|
|
Originally posted by: alexjaquet.gmail.com
Hi,
I need to implement a isDirty method for my editor. As I read on the
interface :
" Returns whether the contents of this part have changed since the last
save operation. If this value changes the part must fire a property
listener event with PROP_DIRTY
Note: this method is called often on a part open or part
activation switch, for example by actions to determine their
enabled status."
the property listener is a PropertyListener from java bean ?
can you give me some hint
thx
|
|
|
Re: isDirty [message #237793 is a reply to message #237789] |
Thu, 09 August 2007 07:56 |
Eclipse User |
|
|
|
Originally posted by: alexjaquet.gmail.com
Founded :
public void setIsDirty(boolean isDirty) {
this.isDirty = isDirty;
firePropertyChange(IEditorPart.PROP_DIRTY);
}
|
|
|
Powered by
FUDForum. Page generated in 0.02864 seconds