if (useFileView) {
FileStructureView structureView = structureViewManager.createViewForSourceFile(editorAdapter.getCurrFile(),
structureViewManager.getDefaultViewProperties());
structureViewManager.setDefaultFileView(structureView);
fileStructurePanel = new StructureViewPanel(structureView);
}
viewManager = new BrowserViewManager();
optionsFrame = new OptionsFrame(iconRegistry);