default : normalPlayModeAction.setChecked(true); repeatPlayModeAction.setChecked(false); randomPlayModeAction.setChecked(false); new ChangePlaymodeAction(0).run();
}
}
public void fillToolbar(ICoolBarManager coolBar) {
IToolBarManager controlToolbar1 = new ToolBarManager(coolBar.getStyle());
coolBar.add(controlToolbar1);
controlToolbar1.add(stopAction);
controlToolbar1.add(pauseAction);
controlToolbar1.update(true);
IToolBarManager controlToolbar2 = new ToolBarManager(coolBar.getStyle());
coolBar.add(controlToolbar2);
controlToolbar2.add(seekMinusAction);
controlToolbar2.add(previousAction);
controlToolbar2.add(nextAction);
controlToolbar2.add(seekPlusAction);
/*
IToolBarManager timeToolbar = new ToolBarManager(coolBar.getStyle());
coolBar.add(timeToolbar);
*/
TimeToolbarContribution timeToolbarContribution = new TimeToolbarContribution();
controlToolbar2.add(timeToolbarContribution);
IToolBarManager volumeToolbar = new ToolBarManager(coolBar.getStyle());
coolBar.add(volumeToolbar);
volumeBar = new VolumeBarToolbarContribution();
volumeToolbar.add(volumeMuteAction);
volumeToolbar.add(volumeDownAction);
volumeToolbar.add(volumeUpAction);
volumeToolbar.add(volumeBar);
IToolBarManager playmodeToolbar = new ToolBarManager(coolBar.getStyle());
coolBar.add(playmodeToolbar);
playmodeToolbar.add(normalPlayModeAction);
playmodeToolbar.add(repeatPlayModeAction);
playmodeToolbar.add(randomPlayModeAction);
}