Programmatically move views? (Console View question) [message #286762] |
Thu, 16 June 2005 20:22 |
Eclipse User |
|
|
|
Originally posted by: gbowering.atcorp.com
I have created a Console View which by default seems to appear in right-hand
portion of the screen.
My problem is that I would like to have it appear somewhere else for the
default position within my perspective.
(NOTE: unlike regular views that are assigned positions inside the
IPerspectiveFactory class this particular view is instantiated when the UI
plugin starts up)
I am wondering if I can programmatically move it somewhere else immediately
after it gets created?
Can anyone help me?
|
|
|
Re: Programmatically move views? (Console View question) [message #286769 is a reply to message #286762] |
Thu, 16 June 2005 21:15 |
Eclipse User |
|
|
|
Originally posted by: gbowering.atcorp.com
I figured out the solution. The ID for the Console View is
org.eclipse.ui.console.ConsoleView (something which took me a while to
figure out) and the solution was to add a placeholder in the class that
implements IPerspectiveFactory with that console ID. When the Console View
is instantiated in the UIPlugin startup it is force to open in the assigned
location.
"Tony" <gbowering@atcorp.com> wrote in message
news:d8sn2e$qt1$1@news.eclipse.org...
>I have created a Console View which by default seems to appear in
>right-hand portion of the screen.
>
> My problem is that I would like to have it appear somewhere else for the
> default position within my perspective.
>
> (NOTE: unlike regular views that are assigned positions inside the
> IPerspectiveFactory class this particular view is instantiated when the UI
> plugin starts up)
>
> I am wondering if I can programmatically move it somewhere else
> immediately after it gets created?
>
> Can anyone help me?
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02507 seconds