if (persp == null) {
return false;
}
// Create list dialog.
CustomizePerspectiveDialog dlg = window.createCustomizePerspectiveDialog(persp);
// Open.
boolean ret = (dlg.open() == Window.OK);
if (ret) {
window.updateActionSets();
window.firePerspectiveChanged(this, getPerspective(), CHANGE_RESET);
window.firePerspectiveChanged(this, getPerspective(),
CHANGE_RESET_COMPLETE);