Carbide.c++

com.nokia.carbide.cpp.epoc.engine
Interface IViewRunnable<Model,View>

All Known Subinterfaces:
IBldInfViewRunnable, IBSFViewRunnable, IImageMakefileViewRunnable, IMMPViewRunnable, IPKGViewRunnable
All Known Implementing Classes:
BldInfViewRunnableAdapter, BSFViewRunnableAdapter, ImageMakefileViewRunnableAdapter, MMPViewRunnableAdapter, PKGViewRunnableAdapter

public interface IViewRunnable<Model,View>

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


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

Method Detail

run

java.lang.Object run(View 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++