IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.common.core.service
Class ProviderChangeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.ibm.xtools.common.core.service.ProviderChangeEvent
All Implemented Interfaces:
Serializable

public class ProviderChangeEvent
extends EventObject

An event that indicates when a provider changes. Service implementers are expected to expose service specific sub-classes to help listeners understand the exact nature of the state change. They are not expected to instantiate these events.

Service provider implementers never need to subclass this interface or its subclasses, they instead instantiate the service specific subclass in their provider implementation when they need to notify listeners of a state change.

See Also:
AbstractProvider.addProviderChangeListener(IProviderChangeListener), IProviderChangeListener.providerChanged(ProviderChangeEvent), IProvider.addProviderChangeListener(IProviderChangeListener), IProvider.removeProviderChangeListener(IProviderChangeListener), Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ProviderChangeEvent(IProvider source)
          Constructs a new provider change event for the specified provider.
 
Method Summary
 void setSource(IProvider source)
          Sets the source instance variable to the specified value.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProviderChangeEvent

public ProviderChangeEvent(IProvider source)
Constructs a new provider change event for the specified provider.

Parameters:
source - The provider that changed.
Method Detail

setSource

public void setSource(IProvider source)
Sets the source instance variable to the specified value. This method is reserved for internal use.

Parameters:
source - The new value for the source instance variable.

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

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