playAction.setToolTipText("Start Simulation");
return playAction;
}
private SharedAction createStepForwardAction() {
final SharedAction stepForwardAction = new SharedAction() {
private static final long serialVersionUID = 946915689173284619L;
@Override
protected void execute(ActionEvent e) {
stepForward();
}
};
stepForwardAction.setText("Step forward");
stepForwardAction.setSmallIcon(ResourceLoader.createIconFromLocalResource(VisualizerPlugin.class,
"button_step_forward.png", 16));
stepForwardAction.setLargeIcon(ResourceLoader.createIconFromLocalResource(VisualizerPlugin.class,
"button_step_forward.png", 20));
stepForwardAction.setToolTipText("Step forward");
return stepForwardAction;
}