use of com.att.aro.ui.view.diagnostictab.StartupDelayDialog in project VideoOptimzer by attdevsupport.
the class SegmentTablePanel method launchStartUpDelayDialog.
public void launchStartUpDelayDialog() {
GoogleAnalyticsUtil.getGoogleAnalyticsInstance().sendViews("StartupDelayDialog");
IVideoPlayer player = aroView.getVideoPlayer();
double maxDuration = player.getDuration();
List<UserEvent> userEventList = analyzerResult.getAnalyzerResult().getTraceresult().getUserEvents();
if (maxDuration >= 0) {
selectVideoStreamWithRefresh(videoStream);
try {
dialog = new StartupDelayDialog(aroView.getGraphPanel(), maxDuration, videoStream, userEventList, this, viewIndex);
dialog.pack();
dialog.setSize(dialog.getPreferredSize());
dialog.validate();
dialog.setModalityType(ModalityType.APPLICATION_MODAL);
dialog.setVisible(true);
} catch (Exception e) {
LOG.error("Exception in StartupDelayDialog:", e);
new MessageDialogFactory().showErrorDialog(null, ResourceBundleHelper.getMessageString("startupdelay.error.message"));
}
}
}
Aggregations