public interface IConcurrentModel
The model is allowed to send back notifications to its listeners in any thread, and the listeners must not assume that the notifications will arrive in the UI thread.
Not intended to be implemented by clients. Clients should subclass
|Modifier and Type||Method and Description|
Adds a listener to this model.
Removes a listener from this model.
Requests that the receiver to call the given listener's setContents(...)
void requestUpdate(IConcurrentModelListener listener)
Has no effect if an update is already queued for an identical listener.
listener- listener whose setContents method should be called. The listener must have been previously registered with addListener.
void addListener(IConcurrentModelListener listener)
Has no effect if an identical listener is already registered.
listener- listener to add
void removeListener(IConcurrentModelListener listener)
Has no effect if the given listener is not known to this model.
listener- listener to remove
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.