IBM Rational Software Modeler
Release 6.0

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


public interface IDataModelListener

A listener that is called when properties of the data model change. This interface is intended to be implemented by clients.


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 value of the property before it was changed. Will be 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.