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