[Resolves #397][Workaround] Hides the Component Analysis Dialog until it can be fixed.
This commit is contained in:
parent
79eaebe06e
commit
0b1e01137a
@ -684,18 +684,20 @@ public class BasicFrame extends JFrame {
|
||||
menu.getAccessibleContext().setAccessibleDescription(trans.get("main.menu.analyze.desc"));
|
||||
menubar.add(menu);
|
||||
|
||||
//// Component analysis
|
||||
item = new JMenuItem(trans.get("main.menu.analyze.componentAnalysis"), KeyEvent.VK_C);
|
||||
//// Analyze the rocket components separately
|
||||
item.getAccessibleContext().setAccessibleDescription(trans.get("main.menu.analyze.componentAnalysis.desc"));
|
||||
item.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
log.info(Markers.USER_MARKER, "Component analysis selected");
|
||||
ComponentAnalysisDialog.showDialog(rocketpanel);
|
||||
}
|
||||
});
|
||||
menu.add(item);
|
||||
|
||||
// TODO: reimplement this
|
||||
// //// Component analysis
|
||||
// item = new JMenuItem(trans.get("main.menu.analyze.componentAnalysis"), KeyEvent.VK_C);
|
||||
// //// Analyze the rocket components separately
|
||||
// item.getAccessibleContext().setAccessibleDescription(trans.get("main.menu.analyze.componentAnalysis.desc"));
|
||||
// item.addActionListener(new ActionListener() {
|
||||
// @Override
|
||||
// public void actionPerformed(ActionEvent e) {
|
||||
// log.info(Markers.USER_MARKER, "Component analysis selected");
|
||||
// ComponentAnalysisDialog.showDialog(rocketpanel);
|
||||
// }
|
||||
// });
|
||||
// menu.add(item);
|
||||
|
||||
//// Optimize
|
||||
item = new JMenuItem(trans.get("main.menu.analyze.optimization"), KeyEvent.VK_O);
|
||||
|
Loading…
x
Reference in New Issue
Block a user