use of com.intellij.openapi.externalSystem.view.ExternalProjectsViewState in project intellij-community by JetBrains.
the class ExternalProjectsManager method getState.
@NotNull
@Override
public ExternalProjectsState getState() {
ApplicationManager.getApplication().assertIsDispatchThread();
for (ExternalProjectsView externalProjectsView : myProjectsViews) {
if (externalProjectsView instanceof ExternalProjectsViewImpl) {
final ExternalProjectsViewState externalProjectsViewState = ((ExternalProjectsViewImpl) externalProjectsView).getState();
final ExternalProjectsState.State state = myState.getExternalSystemsState().get(externalProjectsView.getSystemId().getId());
assert state != null;
state.setProjectsViewState(externalProjectsViewState);
}
}
return myState;
}
Aggregations