Back to index

wims  3.65+svn20090927
Public Member Functions
ptolemy.plot.PlotFrame.FileMenuListener Class Reference
Inheritance diagram for ptolemy.plot.PlotFrame.FileMenuListener:
Inheritance graph
Collaboration diagram for ptolemy.plot.PlotFrame.FileMenuListener:
Collaboration graph

List of all members.

Public Member Functions

void actionPerformed (ActionEvent e)

Detailed Description

Definition at line 531 of file

Member Function Documentation

Definition at line 532 of file

            JMenuItem target = (JMenuItem) e.getSource();
            String actionCommand = target.getActionCommand();

            try {
                if (actionCommand.equals("Open")) {
                } else if (actionCommand.equals("Save")) {
                } else if (actionCommand.equals("SaveAs")) {
                } else if (actionCommand.equals("Export")) {
                } else if (actionCommand.equals("Print")) {
                } else if (actionCommand.equals("Close")) {
            } catch (Exception exception) {
                // If we do not catch exceptions here, then they
                // disappear to stdout, which is bad if we launched
                // where there is no stdout visible.
                JOptionPane.showMessageDialog(null, "File Menu Exception:\n"
                        + exception.toString(), "Ptolemy Plot Error",

            // NOTE: The following should not be needed, but there jdk1.3beta
            // appears to have a bug in swing where repainting doesn't
            // properly occur.

Here is the call graph for this function:

The documentation for this class was generated from the following file: