IDataRunnable (Carbide.c++ SDK API Reference)
Keywords: com.nokia.carbide.cpp.epoc.engine.IDataRunnable interface

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Carbide.c++
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.nokia.carbide.cpp.epoc.engine
Interface IDataRunnable<Model,Data>

All Known Subinterfaces:
  IBldInfDataRunnable, IImageMakefileDataRunnable, IMMPDataRunnable

All Known Implementing Classes:
  BldInfDataRunnableAdapter, ImageMakefileDataRunnableAdapter, MMPDataRunnableAdapter

    public interface IDataRunnable<Model,Data>

Instantiate this interface and pass to EpocEnginePlugin#runWith...Data() to encapsulate some of the bookkeeping of model/view/data handling.

Method Summary
`java.lang.Object` | `failedLoad(CoreException exception)` Called instead of #run() when model loading failed.
`java.lang.Object` | `run(Data view)` Run with the view.

Method Detail

### run

    java.lang.Object run(Data view)

  Run with the view. The view may be modified and committed.

### failedLoad

    java.lang.Object failedLoad(CoreException exception)

  Called instead of #run() when model loading failed.

  Parameters:
    `exception` - if not null, the exception thrown (else, the model doesn't exist)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Carbide.c++
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD