Carbide.c++

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)

Carbide.c++