Extending : Client State Extension : State Appearance customization : State Appearance Customization Sample
  
State Appearance Customization Sample
There is a plugin called StatesAppearanceCustomizationSample that contains several sample classes that show different ways of customizing states. You could download StatesAppearanceCutomization.zip.
PrinterFigure, FaxFigure and ConditionFigure that extends from StateFigure
RhombusFigure that extends from AbstractStateFigure
EllipseFigure that extends from draw2d Ellipse (subclass of Shape)
ScannerFigure that extends from Shape
On the other hand, the sample contains these definitions that override standard UDTT states:
InitialState
OperationState
ConditionState
Go up to
State Appearance customization