|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jpt.common.utility.synchronizers.CallbackSynchronizer.Null
public static final class CallbackSynchronizer.Null
Singleton implementation of the CallbackSynchronizer interface that will do
nothing.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.utility.synchronizers.CallbackSynchronizer |
|---|
CallbackSynchronizer.Listener, CallbackSynchronizer.Null |
| Field Summary | |
|---|---|
static CallbackSynchronizer |
INSTANCE
|
| Method Summary | |
|---|---|
void |
addListener(CallbackSynchronizer.Listener listener)
Add the specified listener to be notified whenever the synchronizer has quiesced. |
static CallbackSynchronizer |
instance()
|
void |
removeListener(CallbackSynchronizer.Listener listener)
Remove the specified listener. |
void |
start()
Enable the synchronizer to allow future synchronizations as requested by calls to Synchronizer.synchronize(). |
void |
stop()
Stop the synchronizer immediately or, if a synchronization is currently in progress, when it completes. |
void |
synchronize()
Synchronize the dependent model with the primary model. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final CallbackSynchronizer INSTANCE
| Method Detail |
|---|
public static CallbackSynchronizer instance()
public void start()
SynchronizerSynchronizer.synchronize().
start in interface Synchronizerpublic void synchronize()
SynchronizerSynchronizer.start() has not previously been called. Do nothing if Synchronizer.stop()
has been called (without any intermediate call to Synchronizer.start().
synchronize in interface Synchronizerpublic void stop()
SynchronizerSynchronizer.start() is called.
stop in interface Synchronizerpublic void addListener(CallbackSynchronizer.Listener listener)
CallbackSynchronizer
addListener in interface CallbackSynchronizerCallbackSynchronizer.removeListener(Listener)public void removeListener(CallbackSynchronizer.Listener listener)
CallbackSynchronizer
removeListener in interface CallbackSynchronizerCallbackSynchronizer.addListener(Listener)public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||