1 11 package org.eclipse.pde.internal.core.plugin; 12 13 import org.eclipse.pde.core.IModelChangeProvider; 14 import org.eclipse.pde.core.ModelChangedEvent; 15 16 public class AttributeChangedEvent extends ModelChangedEvent { 17 public static final String P_ATTRIBUTE_VALUE = "att_value"; 19 private Object attribute; 20 21 public AttributeChangedEvent(IModelChangeProvider provider, Object element, 22 Object attribute, String oldValue, String newValue) { 23 super(provider, element, P_ATTRIBUTE_VALUE, oldValue, newValue); 24 this.attribute = attribute; 25 } 26 27 public Object getChangedAttribute() { 28 return attribute; 29 } 30 } 31 | Popular Tags |