INSTANCE.configurationManager.addListener(INSTANCE.STRUCTURE_UPDATE_CONFIG_LISTENER);
INSTANCE.ideUIAdapter = ideUIAdapter;
INSTANCE.editorAdapter = editorAdapter;
INSTANCE.structureSearchManager = new StructureSearchManager();
INSTANCE.structureViewManager = new StructureViewManager(new SwingTreeViewNodeFactory(iconRegistry));
if (useFileView) {
FileStructureView structureView = structureViewManager.createViewForSourceFile(editorAdapter.getCurrFile(),
structureViewManager.getDefaultViewProperties());
structureViewManager.setDefaultFileView(structureView);