Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Detach through code
Detach through code [message #986480] Tue, 20 November 2012 15:38 Go to next message
Magnus Sjöstrand is currently offline Magnus SjöstrandFriend
Messages: 16
Registered: June 2012
Junior Member
A view or "window" can be deattached and moved out of the main window so that it becomes a free window. If I choose to close it and then open it up again by using
Window->Show View->MyView I get the view back at the same position where I closed it, free from the main window.

My question is, is this possible to achieve from code so that whenever I open up my window (even if a user has never opened Eclipse before) and the user clicks Window->Show View->MyView the window should automaticly be free from the main window. Again, I would like to make this possible from code.
Re: Detach through code [message #986608 is a reply to message #986480] Wed, 21 November 2012 07:59 Go to previous messageGo to next message
Sabir pasha is currently offline Sabir pashaFriend
Messages: 70
Registered: February 2010
Member
I dont understand much of what your requirement is. Have u tried using PreferenceDialog anytime which can give independent Window like feel .
Re: Detach through code [message #986790 is a reply to message #986480] Wed, 21 November 2012 16:08 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
In 3.x YES with internal API
In 4.x YES

See http://tomsondev.bestsolution.at/2012/07/13/so-you-used-internal-api/

Tom

Am 20.11.12 16:38, schrieb Magnus Sjöstrand:
> A view or "window" can be deattached and moved out of the main window so
> that it becomes a free window. If I choose to close it and then open it
> up again by using Window->Show View->MyView I get the view back at the
> same position where I closed it, free from the main window.
>
> My question is, is this possible to achieve from code so that whenever I
> open up my window (even if a user has never opened Eclipse before) and
> the user clicks Window->Show View->MyView the window should automaticly
> be free from the main window. Again, I would like to make this possible
> from code.
Re: Detach through code [message #986960 is a reply to message #986790] Thu, 22 November 2012 14:44 Go to previous message
Magnus Sjöstrand is currently offline Magnus SjöstrandFriend
Messages: 16
Registered: June 2012
Junior Member
Ah, just what I was looking for.
Thanks Thomas!
Previous Topic:0.0.0 versions in .target file
Next Topic:Writing my own debug environment
Goto Forum:
  


Current Time: Thu Apr 25 14:45:45 GMT 2024

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

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

Back to the top