public String getPresentationName() {
return GraphResources.format("NextEmailEdit", type);
}
private void setNextEmail(EmailMessageId opId) {
OperationWrapper start = locateStartOp();
if (start != null) {
if (type == RouteType.SUCCESS) {
start.setSuccessEmailId(opId);
} else {
start.setFailureEmailId(opId);
}
} else {
Alert.error("This change cannot be undone/redone.", "Not Undoable/Redoable");
}
}