@Override
  @NotNull
  public MavenWorkspacePersistedSettings getState() {
    MavenExplicitProfiles profiles = MavenProjectsManager.getInstance(myProject).getExplicitProfiles();
    mySettings.setEnabledProfiles(profiles.getEnabledProfiles());
    mySettings.setDisabledProfiles(profiles.getDisabledProfiles());
    return mySettings;
  }
@Override
  @NotNull
  public MavenWorkspacePersistedSettings getState()