public final class SimplePropertyEvent extends EventObject
Modifier and Type | Field and Description |
---|---|
static int |
CHANGE
Event type constant indicating that the property changed
|
IDiff |
diff
If event == CHANGE, a diff object describing the change in state, or null
for an unknown change.
|
IProperty |
property
The property on which the event took place
|
static int |
STALE
Event type constant indicating that the property became stale
|
int |
type
The type of property event that occured
|
source
Constructor and Description |
---|
SimplePropertyEvent(int type,
Object source,
IProperty property,
IDiff diff)
Constructs a PropertyChangeEvent with the given attributes
|
public static final int CHANGE
public static final int STALE
public final int type
public final IProperty property
public final IDiff diff
public SimplePropertyEvent(int type, Object source, IProperty property, IDiff diff)
type
- the property typesource
- the property sourceproperty
- the property that changed on the sourcediff
- a diff describing the change in state, or null if the change
is unknown or not applicable.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.