Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Clear out view shortcuts from saved state?
Clear out view shortcuts from saved state? [message #439669] Mon, 14 November 2005 10:19 Go to next message
Eclipse UserFriend
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 #439671 is a reply to message #439669] Mon, 14 November 2005 11:30 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Clear out view shortcuts from saved state? [message #439672 is a reply to message #439671] Mon, 14 November 2005 10:46 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Clear out view shortcuts from saved state? [message #439676 is a reply to message #439672] Mon, 14 November 2005 14:15 Go to previous message
Eclipse UserFriend
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
Previous Topic:webstart export for mulitple platforms possible ?
Next Topic:Only "generic" on extensions context menu
Goto Forum:
  


Current Time: Sun Nov 09 17:29:38 EST 2025

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

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

Back to the top