IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.ras.core.data
Interface IDataModelListener


public interface IDataModelListener

Represents the listener that is called when the properties of the data model change.

The IDataModelListener interface is intended to be implemented by clients.

The propertyChanged method is called when a property in the data model is changed. The propertyRemoved method is called when a property is removed from the data model.


Method Summary
 void propertyChanged(String theName, Object theOldValue, Object theNewValue)
          Called when a property in the data model is changed.
 void propertyRemoved(String theName, Object theValue)
          Called when a property is removed from the data model.
 

Method Detail

propertyChanged

public void propertyChanged(String theName,
                            Object theOldValue,
                            Object theNewValue)
Called when a property in the data model is changed.

Parameters:
theName - The name of the property that was changed.
theOldValue - The initial value of the property. A value of null, if this is a new property.
theNewValue - The value of the property after it was changed.

propertyRemoved

public void propertyRemoved(String theName,
                            Object theValue)
Called when a property is removed from the data model.

Parameters:
theName - The name of the property that was removed.
theValue - The value of the property that was removed.

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.