Dali Provisional API
Release 3.2

org.eclipse.jpt.common.utility.command
Interface CommandContext

All Known Subinterfaces:
CombinedCommandContext, CombinedExtendedCommandContext, ExtendedCommandContext, StatefulCommandContext, StatefulExtendedCommandContext

public interface CommandContext

This interface allows clients to control a command's context. This is useful when the server provides the command but the client provides the context (e.g. the client would like to dispatch the command to the UI thread).

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.


Method Summary
 void execute(Command command)
          Execute the specified command, synchronously or asynchronously.
 

Method Detail

execute

void execute(Command command)
Execute the specified command, synchronously or asynchronously. The commands themselves must be executed in the order in which they are passed to the command context (at least when passed from clients executing on the same thread).


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.