Extension SDK 10.1.2

oracle.ide
Class IdeVetoableSubject

java.lang.Object
  extended byoracle.ide.IdeSubject
      extended byoracle.ide.IdeVetoableSubject
All Implemented Interfaces:
Subject

public class IdeVetoableSubject
extends IdeSubject

The IdeVetoableSubject class is a default implementation of the VetoableSubject interface. VetoableSubject implementations should use this class for managing the observers list.

See Also:
VetoableObserver, VetoableMessage

Field Summary
 
Fields inherited from interface oracle.ide.addin.Subject
OBJECT_MODIFIED
 
Constructor Summary
IdeVetoableSubject()
          Contructor
IdeVetoableSubject(IdeVetoableSubject ideSubject)
          Copy constructor
 
Method Summary
 void notifyObservers(java.lang.Object observed, VetoableMessage change)
          Notifies all observers that the state of the subject has changed.
 
Methods inherited from class oracle.ide.IdeSubject
attach, copy, detach, getObservers, notifyObservers, setObservers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdeVetoableSubject

public IdeVetoableSubject()
Contructor


IdeVetoableSubject

public IdeVetoableSubject(IdeVetoableSubject ideSubject)
Copy constructor

Method Detail

notifyObservers

public void notifyObservers(java.lang.Object observed,
                            VetoableMessage change)
                     throws ChangeVetoException
Notifies all observers that the state of the subject has changed.

Parameters:
observed - the subject whose state has changed.
change - what changed.
Throws:
ChangeVetoException

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.