Bug 1878

Summary: Observer .added, and .deleted, needs Observable parameter
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1553    

Description Andrew Cagney 2005-11-17 22:27:30 UTC
The Observer .added, and .deleted callbacks should include the observable
parameter (typically the task).
Comment 1 Andrew Cagney 2005-11-17 22:32:11 UTC
Added:

Observer.addedTo (Object)
Observer.deletedFrom (Object)
Observer.addFailed (Object, Throwable)

Index: frysk-core/frysk/proc/ChangeLog
2005-11-17  Andrew Cagney  <cagney@redhat.com>

        * Observer.java: Replace .added, and .deleted with .addedTo,
        .deletedFrom, and .addedFailed.
        * Observable.java (fail): Add.
        * TaskObservable.java (TaskObservable(Task)): Add consructor.
        * Task.java: Update.
        * TestLib.java: Update.
        * TestTaskObserver.java: Update.

Index: frysk-gui/frysk/gui/monitor/ChangeLog
2005-11-17  Andrew Cagney  <cagney@redhat.com>

        * observers/ObserverRoot.java: Replace .added, and .deleted with
        .addedTo, .deletedFrom, and .addFailed.
        * EventLogger.java: Ditto.