[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Re: Excluding workbench parts from saving
|
I think the isDirty()-function means the content of the editor has changed
and must be saved.
My problem is the saving of the workbench layout after closing the
application. It is a nice feature, but my editors should not be restored on
restarting the application. All other views, perspectives, ... should.
Uwe
"Svante Lidman" <svante_nospam@xxxxxxxxxxxxxxxxxxxxxxxx> schrieb im
Newsbeitrag news:d7g2n8$buq$1@xxxxxxxxxxxxxxxxxxx
> If I understand you correctly you can simply override isDirty() in your
> Editor and always return false.
>
> As it turns out it does not work to override isSaveOnCloseNeeded() in
> Eclipse 3.0 which is of course what you would expect. I believe this may
> change/have changed in 3.1
>
> -- svante
>
>