void () { if (isDisposed()) return; myInitialToolDescriptors.clear(); final Project project = getProject(); for (final ScopeToolState state : myProfile.getDefaultStates(getProject())) { if (!accept(state.getTool())) { continue; } ToolDescriptors descriptors = ToolDescriptors.fromScopeToolState(state, myProfile, project); myInitialToolDescriptors.put(descriptors.getDefaultDescriptor().getShortName(), descriptors); } myInitialScopesOrder = myProfile.getScopesOrder(); }