public abstract class UpdateCompleteProvider extends java.lang.Object implements IUpdateCompleteProvider
Constructor and Description |
---|
UpdateCompleteProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
addUpdateCompleteListener(IUpdateCompleteListener listener,
boolean fireNow)
Registers an
IUpdateCompleteListener to receive notification on completed updates. |
void |
dispose()
Disposes of the provider by clearing the listener list
|
boolean |
removeUpdateCompleteListener(IUpdateCompleteListener listener)
Unregisters a listener registered by
IUpdateCompleteProvider.addUpdateCompleteListener(IUpdateCompleteListener, boolean) . |
public boolean addUpdateCompleteListener(IUpdateCompleteListener listener, boolean fireNow)
IUpdateCompleteProvider
IUpdateCompleteListener
to receive notification on completed updates.
The listener can be unregistered via IUpdateCompleteProvider.removeUpdateCompleteListener(IUpdateCompleteListener)
.
addUpdateCompleteListener
in interface IUpdateCompleteProvider
listener
- the listener that will be notified of each completed updatefireNow
- if true, listener will be immediately invoked without waiting for the next updatepublic boolean removeUpdateCompleteListener(IUpdateCompleteListener listener)
IUpdateCompleteProvider
IUpdateCompleteProvider.addUpdateCompleteListener(IUpdateCompleteListener, boolean)
.removeUpdateCompleteListener
in interface IUpdateCompleteProvider
listener
- the listener that will no longer be notified.public void dispose()