boolean () { final ActionMacro[] allMacros = ActionMacroManager.getInstance().getAllMacros(); if (allMacros.length != myMacrosModel.getSize()) return true; for (int i = 0; i < allMacros.length; i++) { ActionMacro macro = allMacros[i]; ActionMacro newMacro = myMacrosModel.get(i); if (!macro.equals(newMacro)) return true; } return false; }