@Override public boolean checkInput(String scratchName) {
return ScratchComponent.mrScratchManager().checkIfUserCanCreateScratchWithName(scratchName).isYes;
}
@Nullable @Override public String getErrorText(String scratchName) {
Answer answer = ScratchComponent.mrScratchManager().checkIfUserCanCreateScratchWithName(scratchName);
return answer.explanation;
}
@Override public boolean canClose(String inputString) {
return true;