de.cau.cs.kieler.sim.kiem.ui
Class StepTextField

java.lang.Object
  extended by org.eclipse.jface.action.ContributionItem
      extended by org.eclipse.jface.action.ControlContribution
          extended by de.cau.cs.kieler.sim.kiem.ui.StepTextField
All Implemented Interfaces:
IContributionItem

public class StepTextField
extends ControlContribution

The Class StepTextField. This is the GUI component that shows the number of current steps during a running or paused execution.

Rating proposed yellow
(2009-01-15)

Constructor Summary
StepTextField()
          Instantiates a new step text field GUI ControlContribution.
 
Method Summary
protected  Control createControl(Composite parent)
           
 void updateTextfield(String text)
          Update the contents (i.e., the # of steps) of the text field.
 
Methods inherited from class org.eclipse.jface.action.ControlContribution
computeWidth, fill, fill, fill
 
Methods inherited from class org.eclipse.jface.action.ContributionItem
dispose, fill, getId, getParent, isDirty, isDynamic, isEnabled, isGroupMarker, isSeparator, isVisible, saveWidgetState, setId, setParent, setVisible, toString, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StepTextField

public StepTextField()
Instantiates a new step text field GUI ControlContribution.

Method Detail

createControl

protected Control createControl(Composite parent)
Specified by:
createControl in class ControlContribution

updateTextfield

public void updateTextfield(String text)
Update the contents (i.e., the # of steps) of the text field.

Parameters:
text - the text to display in the text field