@Override
public void environmentConfigChanged(String environmentTypeId) {
EnvironmentVisibilitySettings visibilitySettings = getEnvironmentSettings(project).getVisibilitySettings();
for (TabInfo tabInfo : resultTabs.getTabs()) {
ExecutionResult executionResult = (ExecutionResult) tabInfo.getObject();
if (executionResult != null) {
ConnectionHandler connectionHandler = executionResult.getConnectionHandler();
if (connectionHandler.getSettings().getDetailSettings().getEnvironmentTypeId().equals(environmentTypeId)) {
if (visibilitySettings.getExecutionResultTabs().value()){
tabInfo.setTabColor(connectionHandler.getEnvironmentType().getColor());
} else {
tabInfo.setTabColor(null);