Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » isDirty
isDirty [message #237789] Thu, 09 August 2007 07:35 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
Originally posted by: alexjaquet.gmail.com

Founded :


public void setIsDirty(boolean isDirty) {
this.isDirty = isDirty;
firePropertyChange(IEditorPart.PROP_DIRTY);
}
Previous Topic:How to print diagram name in header or footer?
Next Topic:how can i set bendpoint of Manhattan Connection
Goto Forum:
  


Current Time: Fri Apr 26 07:59:51 GMT 2024

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

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

Back to the top