player = new Player(sashPlayerForm, SWT.CENTER);
player.addPlayerListener(new IPlayerListener() {
@Override
public void indexChanged(PlayerEvent event) {
IPlayer player = event.getSource();
int index = player.getIndex();
displaySpectrumInformation(index);
}
});
player.setPlayerAnimationBehavior(animationBehavior);
player.setAnimationButtonVisible(true);
plotAreaComposite = getWidgetFactory().createComposite(sashPlayerForm);
plotAreaComposite.setLayout(plotAreaLayout);
plotAreaComposite.layout(true, true);