01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.pde.internal.core.plugin;
11:
12: import org.eclipse.pde.core.IModelChangeProvider;
13: import org.eclipse.pde.core.ModelChangedEvent;
14:
15: public class AttributeChangedEvent extends ModelChangedEvent {
16: public static final String P_ATTRIBUTE_VALUE = "att_value"; //$NON-NLS-1$
17:
18: private Object attribute;
19:
20: public AttributeChangedEvent(IModelChangeProvider provider,
21: Object element, Object attribute, String oldValue,
22: 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: }
|