[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Re: StickyView -how to initialize as visible from start up?
|
- From: Paul Webster <pwebster@xxxxxxxxxx>
- Date: Thu, 27 Oct 2005 13:41:25 -0400
- Newsgroups: eclipse.platform.rcp
- Organization: EclipseCorner
- User-agent: Mozilla Thunderbird 1.0.7-1.4.1 (X11/20050929)
The error is interesting ... is there a bug report for it?
BTW: A sticky view is useful if you want your view to be present in
every perspective your user opens (from the moment the view is opened,
your error is relating to how to open a stick view as part of the
perspective).
If you really only have one perspective for your RCP app and you want to
make sure the user can't close your view, you can just use IPageLayout
stuff:
layout.addView(TestView2.ID_VIEW, IPageLayout.RIGHT, 0.25f, editorArea);
layout.getViewLayout(TestView2.ID_VIEW).setCloseable(false);
Same thing with moveable if you always want your view in the same location.
Later,
PW