return Strings.get("changeToolAttrAction");
}
@Override
public void doIt(Project proj) {
AttributeSet attrs = config.getEvent().getAttributeSet();
Map<Attribute<?>,Object> newValues = config.getAttributeValues();
Map<Attribute<?>,Object> oldValues = new HashMap<Attribute<?>,Object>(newValues.size());
for (Map.Entry<Attribute<?>,Object> entry : newValues.entrySet()) {
@SuppressWarnings("unchecked")
Attribute<Object> attr = (Attribute<Object>) entry.getKey();
oldValues.put(attr, attrs.getValue(attr));
attrs.setValue(attr, entry.getValue());
}
this.oldValues = oldValues;
}