IWorkbenchPage.STATE_RESTORED has no effect [message #334971] |
Thu, 12 March 2009 17:21  |
Eclipse User |
|
|
|
Originally posted by: n.n.nnn
Not sure if I've found a bug but:
(active_page).setPartState(viewRef, IWorkbenchPage.STATE_MINIMIZED);
does minimize the view to a side panel, maybe it's a toolbar?
But:
(active_page).setPartState(viewRef, IWorkbenchPage.STATE_RESTORED);
has no effect on it, it does nothing?
--
// This is my opinion.
|
|
|
Re: IWorkbenchPage.STATE_RESTORED has no effect [message #334972 is a reply to message #334971] |
Thu, 12 March 2009 17:28  |
Eclipse User |
|
|
|
Originally posted by: n.n.nnn
On Thu, 12 Mar 2009 21:21:20 +0000, jebblue wrote:
> Not sure if I've found a bug but:
>
> (active_page).setPartState(viewRef, IWorkbenchPage.STATE_MINIMIZED);
>
> does minimize the view to a side panel, maybe it's a toolbar?
>
> But:
>
> (active_page).setPartState(viewRef, IWorkbenchPage.STATE_RESTORED);
>
> has no effect on it, it does nothing?
I went back and verified my code again, turns out that STATE_RESTORED does
cause the view to come back but not truly restored as it was. Seems I have
to click on top icon on that toolbar that got added in the MINIMIZE for
the view to fully restore to where it was.
--
// This is my opinion.
|
|
|
Powered by
FUDForum. Page generated in 0.03140 seconds