Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » IWorkbenchPage.STATE_RESTORED has no effect
IWorkbenchPage.STATE_RESTORED has no effect [message #334971] Thu, 12 March 2009 21:21 Go to next message
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 21:28 Go to previous message
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.
Previous Topic:How add "Show In" navigation to a view?
Next Topic:java perspective disappeared after update
Goto Forum:
  


Current Time: Tue Oct 21 16:46:10 GMT 2014

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

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