Reputation: 1583
I've just started playing with Eclipse RCP.
A few things that I would like to accomplish:
Can anyone help me please?
Thank you.
Upvotes: 2
Views: 1391
Reputation: 333
Sidebar can be create via using viewpart and adjust in perspective using IPerspective in right or left side and given window size.
Upvotes: 0
Reputation: 1324278
First, some tutorials like Vogella's are a must read ;)
For 1/, this has to do with the IWorkbenchWindowConfigurer
, like:
configurer.getWindow().getShell().setMaximized( true );
on postWindowOpen( IWorkbenchWindowConfigurer configurer )
of your WorkbenchAdvisor
.
This thread has other alternatives.
For 2/, you can do it declaratively or by program, like this thread shows:
You can do it in
plugin.xml
, by providing extension to pointorg.eclipse.ui.perspectiveExtensions
by specifyingshowTitle="false"
on the view element.or You can do it programmatically in Your PerspectiveFactory implementation:
public void createInitialLayout(IPageLayout layout) {
...
layout.addStandaloneView(View.ID, false,
IPageLayout.LEFT, 1.0f, editorArea);
...
}
Upvotes: 3