} else {
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
// create dialog
YiiRunActionPanel panel = new YiiRunActionPanel(params);
DialogDescriptor descriptor = new DialogDescriptor(panel, Bundle.LBL_YiiRunActionAction(), true, null);
Dialog dialog = DialogDisplayer.getDefault().createDialog(descriptor);
dialog.pack();
dialog.validate();
dialog.setVisible(true);
// open browser
if (descriptor.getValue() == DialogDescriptor.OK_OPTION) {
Map<String, String> requests = panel.getGetRequest();
openBrowser(pm, controllerId, actionId, requests);
}
}
});
}