|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface NotifyingRepeatingCommand
Extend the repeating command to support listeners that are notified when an execution "cycle" is complete; i.e. the command has, for the moment, handled every execution request and quiesced. This notification is not guaranteed to occur with every execution "cycle"; since other, unrelated, executions can be triggered concurrently, causing the "cycle" to continue.
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Nested Class Summary | |
|---|---|
static interface |
NotifyingRepeatingCommand.Listener
Interface implemented by listeners to be notified whenever the command has quiesced. |
static class |
NotifyingRepeatingCommand.Null
Singleton implementation of the notifying repeating command interface that will do nothing when executed. |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.utility.command.Command |
|---|
Command.Disabled |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.utility.command.InterruptibleCommand |
|---|
InterruptibleCommand.Interrupted |
| Method Summary | |
|---|---|
void |
addListener(NotifyingRepeatingCommand.Listener listener)
Add the specified listener. |
void |
removeListener(NotifyingRepeatingCommand.Listener listener)
Remove the specified listener. |
| Methods inherited from interface org.eclipse.jpt.common.utility.command.RepeatingCommand |
|---|
start, stop |
| Methods inherited from interface org.eclipse.jpt.common.utility.command.Command |
|---|
execute |
| Method Detail |
|---|
void addListener(NotifyingRepeatingCommand.Listener listener)
void removeListener(NotifyingRepeatingCommand.Listener listener)
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||