| Clear out view shortcuts from saved state? [message #439669] |
Mon, 14 November 2005 10:19  |
Eclipse User |
|
|
|
If i have setSaveAndRestore(true), is there a way to cleaar out the saved
list of view shortcuts programatically?
i'd like it to behave the "normal" way when restoring the state, except
i'd like it to actually reload the views from the perspective. is this
possible to set in code?
|
|
|
|
|
| Re: Clear out view shortcuts from saved state? [message #439676 is a reply to message #439672] |
Mon, 14 November 2005 14:15  |
Eclipse User |
|
|
|
Scott,
it is hard - there are any threads on this news for this problem
one suggest using activity, but i don't try it yet - i need this behavior,
too
Scott Brown wrote:
> but i want it to reload the same views that were open before, i just want
> it to refresh the *list* of views in the menu that shows the
> VIEWS_SHORTLIST, which is from the perspective's showViewShortcuts
>
>
> Haris Peco wrote:
>
>> Scott Brown wrote:
>
>>> If i have setSaveAndRestore(true), is there a way to cleaar out the
>>> saved list of view shortcuts programatically?
>>>
>>> i'd like it to behave the "normal" way when restoring the state, except
>>> i'd like it to actually reload the views from the perspective. is this
>>> possible to set in code?
>> try close views in advisor's preShutdown method
|
|
|
Powered by
FUDForum. Page generated in 0.24476 seconds