presenter.onRemovePerspective();
}
private void userFillsTheFieldsWithTheFollowingValuesAndClicksSaveInThePopUp(String name,
String url) {
IFramePerspectiveConfiguration configurationBeingEdited = getConfigurationBeingEdited();
SaveCommand<IFramePerspectiveConfiguration> saveCommand = (SaveCommand<IFramePerspectiveConfiguration>) saveCommandCaptor.getValue();
if ( areWeCreatingANewConfiguration( configurationBeingEdited ) ) {
saveCommand.save( getConfiguration( null,
name,
url ) );
} else {
saveCommand.save( getConfiguration( configurationBeingEdited.getUuid(),
name,
url ) );
}
}