Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » setting the file dirty so as to get the asterisk
setting the file dirty so as to get the asterisk [message #276274] Fri, 19 November 2004 17:01 Go to next message
Eclipse UserFriend
Originally posted by: dhavrda.motive.com

I have a non-textual editor. When I change a value in one of my Text
controls I would like the workbench to recognize my file as being dirty.
How can I get this to occur? I have set the dirty boolean member (which is
returned in the isDirty method). Of course something has to call this
method. I am guessing that some event must occur to get this to call my
editors isDirty method. Does anyone know what that would be? I would like
to do this without changing the contents of my FileEditorInput/File. That
should be done at save time correct?

-dave
Re: setting the file dirty so as to get the asterisk [message #276390 is a reply to message #276274] Mon, 22 November 2004 15:30 Go to previous message
Eclipse UserFriend
Originally posted by: dhavrda.motive.com

Well in case anybody else wants to know. Just call
firePropertyChange(PROP_DIRTY)


"David Havrda" <dhavrda@motive.com> wrote in message
news:cnlqfr$alk$1@www.eclipse.org...
> I have a non-textual editor. When I change a value in one of my Text
> controls I would like the workbench to recognize my file as being dirty.
> How can I get this to occur? I have set the dirty boolean member (which
is
> returned in the isDirty method). Of course something has to call this
> method. I am guessing that some event must occur to get this to call my
> editors isDirty method. Does anyone know what that would be? I would
like
> to do this without changing the contents of my FileEditorInput/File. That
> should be done at save time correct?
>
> -dave
>
>
>
Previous Topic:WizardDialog as a top-level window
Next Topic:Connection is broken during an update
Goto Forum:
  


Current Time: Tue Jul 15 09:54:03 EDT 2025

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

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

Back to the top