boolean (String name, String value) { if(name.length() == 0) return false; if (hasMacroWithName(name)) { Messages.showErrorDialog(PathMacroTable.this, ApplicationBundle.message("error.variable.already.exists", name), myTitle); return false; } return true; }