Search in sources :

Example 1 with TimeRangeAnalysisDialog

use of com.att.aro.ui.view.menu.tools.TimeRangeAnalysisDialog in project VideoOptimzer by attdevsupport.

the class AROToolMenu method openTimeRangeAnalysis.

private void openTimeRangeAnalysis() {
    MainFrame mainFrame = ((MainFrame) parent);
    if (mainFrame.getController().getTheModel() != null && mainFrame.getController().getTheModel().getAnalyzerResult() != null) {
        TimeRangeAnalysisDialog timeRangeDialog = new TimeRangeAnalysisDialog(mainFrame.getJFrame(), parent);
        timeRangeDialog.setVisible(true);
    } else {
        showNoTraceLoadedError();
    }
}
Also used : TimeRangeAnalysisDialog(com.att.aro.ui.view.menu.tools.TimeRangeAnalysisDialog) MainFrame(com.att.aro.ui.view.MainFrame)

Example 2 with TimeRangeAnalysisDialog

use of com.att.aro.ui.view.menu.tools.TimeRangeAnalysisDialog in project VideoOptimzer by attdevsupport.

the class AROViewMenu method openTimeRangeAnalysis.

private void openTimeRangeAnalysis() {
    MainFrame mainFrame = ((MainFrame) parent);
    if (mainFrame.getController().getTheModel() != null && mainFrame.getController().getTheModel().getAnalyzerResult() != null) {
        TimeRangeAnalysisDialog timeRangeDialog = new TimeRangeAnalysisDialog(mainFrame.getJFrame(), parent);
        timeRangeDialog.setVisible(true);
    } else {
        MessageDialogFactory.showMessageDialog(((MainFrame) parent).getJFrame(), ResourceBundleHelper.getMessageString("menu.error.noTraceLoadedMessage"), ResourceBundleHelper.getMessageString("menu.error.title"), JOptionPane.ERROR_MESSAGE);
    }
}
Also used : TimeRangeAnalysisDialog(com.att.aro.ui.view.menu.tools.TimeRangeAnalysisDialog) MainFrame(com.att.aro.ui.view.MainFrame)

Aggregations

MainFrame (com.att.aro.ui.view.MainFrame)2 TimeRangeAnalysisDialog (com.att.aro.ui.view.menu.tools.TimeRangeAnalysisDialog)2