/** * Reports if this record can be redone. A composite record can be redone only if each of the * sub-records can be redone. * * @see ActivityRecord#canRedo() */ public boolean canRedo() { for (Iterator<ActivityRecord> records = recordList.listIterator(); records.hasNext(); ) { ActivityRecord record = records.next(); if (!record.canRedo()) { return false; } } return true; }