StandaloneView refuses to hide titlebar using activities(capabilities) [message #467192] |
Mon, 30 April 2007 15:32 |
Christoph Messages: 55 Registered: July 2009 |
Member |
|
|
Hello,
i have recently introduced activities/capabilities to my application to
hide certain views from being shown depending on the role of the user. All
views that are shown for a certain activity are shown with a titlebar,
although i have set showTitleBar to false. Here is my extension-definition:
<extension point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension targetID="de.gebitms.geplan.ui.perspective.admin">
<view
closeable="false"
id="de.gebitms.geplan.ui.views.MainAdmin"
moveable="false"
ratio="0.78"
relationship="right"
relative="org.eclipse.ui.editorss"
showTitle="false"
standalone="true"
visible="true"/>
</perspectiveExtension>
</extension>
The same happens when i declare the view in the method
"createInitialLayout" of my perspective-class like this:
layout.addStandaloneView(MainViewAdmin.ID, false,IPageLayout.RIGHT,0.78f,
layout.getEditorArea());
Is that a wanted behaviour or a bug or am i doing it wrong?
Can anybody help?
Thanks very much for your time.
Christoph
|
|
|
Powered by
FUDForum. Page generated in 0.02296 seconds