If you extend the SmappStatePlugin class, implement state logic in the processStateLogic method. If you extend the AbstractDynamicMenu class, the abstract class implements the state logic.
At runtime, the processing engine calls a state's processState method, which in turn calls processStateLogic. The processState method is implemented by the SmappStatePlugin abstract class.
protected SmappState processStateLogic( SmappStateProcessingContext context, SmappStateProcessingAction action) throws MwizProcessingException, DBException;