|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.eclipse.editors.rete.model.ModelElement
public abstract class ModelElement
Abstract prototype of a model element.
| Constructor Summary | |
|---|---|
ModelElement()
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Attach a non-null PropertyChangeListener to this object. |
protected void |
firePropertyChange(String property,
Object oldValue,
Object newValue)
Report a property change to registered listeners (for example edit parts). |
void |
removePropertyChangeListener(PropertyChangeListener l)
Remove a PropertyChangeListener from this component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModelElement()
| Method Detail |
|---|
public void addPropertyChangeListener(PropertyChangeListener l)
l - a non-null PropertyChangeListener instance
IllegalArgumentException - if the parameter is null
protected void firePropertyChange(String property,
Object oldValue,
Object newValue)
property - the programmatic name of the property that changedoldValue - the old value of this propertynewValue - the new value of this propertypublic void removePropertyChangeListener(PropertyChangeListener l)
l - a PropertyChangeListener instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||