[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: Initial location of a view

Sharon,

> Is there a way to specify the initial location of a view (extension point
> org.eclipse.ui.views) contributed by my plug-in? I'd like to specify that
> my view be initially placed at the lower-right corner, like the 'links'
> and 'thumbnail' views (supplied by IBM WSAD).

When the view is defined in xml there is no way to specify the position. 
If you contribute the view to your own perspective (an
IPerspectiveFactory) you can define the position as you choose.  If you
contribute the view to an existing perspective (via a
perspectiveExtension) you can specify the position in xml.  Check out the
extension point docs for org.eclipse.ui.perspectives and
org.eclipse.ui.perspectiveExtensions.

There is also a good article on perspectives at www.eclipse.org.  See
"Using Perspectives in the Eclipse UI".

Dave