Beispiel #1
0
 @Override
 public void actionPerformed(ActionEvent e) {
   Object source = e.getSource();
   if (source == close) control.shutdown();
   else if (source == filepath) control.openFilepath();
   else if (source == load) control.loadFiles();
   else if (source == statisticSummary) control.showStatisticSummary();
   else if (source == constraintWorkshop) control.showConstraintWorkshop();
   else if (source == objectiveWorkshop) control.showObjectiveWorkshop();
   else if (source == variableWorkshop) control.showVariableWorkshop();
   else if (source == analysisSettings) control.showAnalysisSettings();
   /*
    * TODO helpinfo; about;
    */
 }
Beispiel #2
0
 @Override
 public void windowClosing(WindowEvent e) {
   control.shutdown();
 }