oracle.ide.addin
Interface VetoableSubject
- All Superinterfaces:
- Subject
- All Known Subinterfaces:
- WorkEnvironment
- All Known Implementing Classes:
- Project
- public interface VetoableSubject
- extends Subject
VetoableSubject
interface defines the API to register observers
interested in receiving notifications of pending subject changes.
Classes that want to veto a pending Subject
change should
attach an VetoObserver
to a VetoableSubject
in
order to approve the change.
- See Also:
oracle.ide.VetoableObserver
,
oracle.ide.VetoableMessage
Method Summary |
void |
notifyObservers(java.lang.Object subject,
VetoableMessage change)
Notifies all observers that the state of the subject has changed. |
notifyObservers
public void notifyObservers(java.lang.Object subject,
VetoableMessage change)
throws ChangeVetoException
- Notifies all observers that the state of the subject has changed.
- Parameters:
subject
- the subject whose state has changed.change
- what changed.
- Throws:
ChangeVetoException
Copyright © 1997, 2004, Oracle. All rights reserved.