super.preWindowOpen();
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
configurer.setShowStatusLine(true);
+ configurer.setShowPerspectiveBar(false);
+ configurer.setShowMenuBar(false);
}
@Override
public void postWindowOpen() {
super.postWindowOpen();
- CommandUtils.callCommand(OpenDefaultEditor.ID);
+ try {
+ CommandUtils.callCommand(OpenDefaultEditor.ID);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
}
}