* Returns the action listener to be invoked for View->Phase Plot
*/
public ActionListener createPhasePlotListener() {
return new ActionListener() {
public void actionPerformed(ActionEvent e) {
AnalysisType type = mediator
.changeAnalysisType(AnalysisType.PHASE_PLOT);
if (type == AnalysisType.PHASE_PLOT) {
// It may be that no phase plot has been created because the
// phase plot dialog was cancelled.
setPhasePlotViewMenuItemState(true);