[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?

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