[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Excluding workbench parts from saving

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


"Uwe Peuker" <info@xxxxxxxxxxxxxxxx> wrote in message 
news:d7bqis$e63$1@xxxxxxxxxxxxxxxxxxx
> Hi there,
>
> is there any possibility to exclude parts (for example editors) from 
> saving in the automatic workspace state saving process.
> I have to implement some editors, which can't be restored with the data 
> used in the last session, because the data items have been generated 
> dynamically using the application.
>
> Thanks
> Uwe
>
>