public Action createRunAction() {
return new AbstractAction() {
public void actionPerformed(ActionEvent e) {
try {
MockTestSuiteRunner mockRunner = new MockTestSuiteRunner(
WsdlTestSuiteDesktopPanel.this.getModelItem());
WsdlTestSuiteDesktopPanel.this.getModelItem().runTearDownScript(
(TestSuiteRunContext) mockRunner.getRunContext(), mockRunner);
} catch (Exception e1) {
UISupport.showErrorMessage(e1);
}
}
};