pauseAction.setImageDescriptor(ToolbarImageFactory.getInstance().getImageDescriptor("pause", _toolbarSize));
pauseAction.setEnabled(false);
seekMinusAction = new Action("-" + Integer.toString(seekStep) + " " + Messages.getString("PlayerView.Seconds"), SWT.NONE) {
public void run() {
new SeekAction(-Controller.getInstance().getPreferenceStore().getInt(PreferenceConstants.PLAYERVIEW_SEEK_STEP)).run();
}
};
seekMinusAction.setImageDescriptor(ToolbarImageFactory.getInstance().getImageDescriptor("seekminus", _toolbarSize));
seekMinusAction.setEnabled(false);
previousAction = new Action(Messages.getString("PlayerView.BtnPrevious"), SWT.NONE) {
public void run() {
new PlayPreviousAction().run();
}
};
previousAction.setImageDescriptor(ToolbarImageFactory.getInstance().getImageDescriptor("previous", _toolbarSize));
previousAction.setEnabled(false);
nextAction = new Action(Messages.getString("PlayerView.BtnNext"), SWT.NONE) {
public void run() {
new PlayNextAction().run();
}
};
nextAction.setImageDescriptor(ToolbarImageFactory.getInstance().getImageDescriptor("next", _toolbarSize));
nextAction.setEnabled(false);
seekPlusAction = new Action("+" + Integer.toString(seekStep) + " " + Messages.getString("PlayerView.Seconds"), SWT.NONE) {
public void run() {
new SeekAction(Controller.getInstance().getPreferenceStore().getInt(PreferenceConstants.PLAYERVIEW_SEEK_STEP)).run();
}
};
seekPlusAction.setImageDescriptor(ToolbarImageFactory.getInstance().getImageDescriptor("seekplus", _toolbarSize));
seekPlusAction.setEnabled(false);