ch.tatool.core.element.handler
Class StatusPanelStateHandler

java.lang.Object
  extended by ch.tatool.core.element.AbstractPropertyHolder
      extended by ch.tatool.core.element.NodeImpl
          extended by ch.tatool.core.element.handler.StatusPanelStateHandler
All Implemented Interfaces:
PropertyHolder, Node, ExecutionPhaseListener

public class StatusPanelStateHandler
extends NodeImpl
implements ExecutionPhaseListener

This handler takes care of resetting status panel states (enabled, reset). It is used for example to disable the timer status panel, to display it as grayed out when not used.

Author:
Michael Ruflin

Constructor Summary
StatusPanelStateHandler()
           
 
Method Summary
 List<String> getDisableIds()
           
 List<String> getEnableIds()
           
 ExecutionPhase getPhase()
           
 List<String> getResetIds()
           
 void processExecutionPhase(ExecutionContext event)
           
 void setDisableIds(List<String> disableIds)
           
 void setEnableIds(List<String> enableIds)
           
 void setPhase(ExecutionPhase phase)
          Set the phase in which to execute the reset/enable/disable actions.
 void setResetIds(List<String> resetIds)
           
 
Methods inherited from class ch.tatool.core.element.NodeImpl
assignParent, assignParent, assignParents, getId, getLocalId, getParent, setId, setLocalId, setParent
 
Methods inherited from class ch.tatool.core.element.AbstractPropertyHolder
clearProperties, getKeys, getProperty, removeProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.tatool.data.PropertyHolder
clearProperties, getKeys, getProperty, removeProperty, setProperty
 

Constructor Detail

StatusPanelStateHandler

public StatusPanelStateHandler()
Method Detail

processExecutionPhase

public void processExecutionPhase(ExecutionContext event)
Specified by:
processExecutionPhase in interface ExecutionPhaseListener

getResetIds

public List<String> getResetIds()

setResetIds

public void setResetIds(List<String> resetIds)

getDisableIds

public List<String> getDisableIds()

setDisableIds

public void setDisableIds(List<String> disableIds)

getEnableIds

public List<String> getEnableIds()

setEnableIds

public void setEnableIds(List<String> enableIds)

getPhase

public ExecutionPhase getPhase()

setPhase

public void setPhase(ExecutionPhase phase)
Set the phase in which to execute the reset/enable/disable actions.

Parameters:
phase - the phase in which to execute the actions. Default is PRE_PROCESS


Copyright © 2012. All Rights Reserved.