26c26 < private String fAttribute; --- > private FigureAttributeConstant fAttribute; 32c32 < * @param attributeName the name of the attribute to be changed --- > * @param attribute the attribute to be changed 36c36 < public ChangeAttributeCommand(String name, String attributeName, --- > public ChangeAttributeCommand(String name, FigureAttributeConstant attribute, 39c39 < fAttribute = attributeName; --- > fAttribute = attribute; 65a66 > private FigureAttributeConstant myUndoAttribute; 67d67 < private String myUndoAttribute; 70c70 < public UndoActivity(DrawingView newDrawingView, String newUndoAttribute, Object newUndoValue) { --- > public UndoActivity(DrawingView newDrawingView, FigureAttributeConstant newUndoAttribute, Object newUndoValue) { 73c73 < setAttributeName(newUndoAttribute); --- > setAttribute(newUndoAttribute); 88c88 < f.setAttribute(getAttributeName(), getOriginalValue(f)); --- > f.setAttribute(getAttribute(), getOriginalValue(f)); 104c104 < f.setAttribute(getAttributeName(), getBackupValue()); --- > f.setAttribute(getAttribute(), getBackupValue()); 119c119 < protected void setAttributeName(String newUndoAttribute) { --- > protected void setAttribute(FigureAttributeConstant newUndoAttribute) { 123c123 < public String getAttributeName() { --- > public FigureAttributeConstant getAttribute() { 147c147 < Object attributeValue = f.getAttribute(getAttributeName()); --- > Object attributeValue = f.getAttribute(getAttribute());