Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Programmatically move views? (Console View question)
Programmatically move views? (Console View question) [message #286762] Thu, 16 June 2005 20:22 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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?
>
Re: Programmatically move views? (Console View question) [message #286771 is a reply to message #286769] Thu, 16 June 2005 21:26 Go to previous message
W W is currently offline W WFriend
Messages: 45
Registered: July 2009
Member
You should edit the *subject* of your email and put *SOLVED* or *FIXED* to
help others know you have a solution.

Just a suggestion.

[Updated on: Sat, 30 March 2013 04:15]

Report message to a moderator

Previous Topic:New custom PDE build.xml mechanism?
Next Topic:IEclipsePreferences and Preferences
Goto Forum:
  


Current Time: Fri Apr 26 05:08:19 GMT 2024

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

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

Back to the top