public void setShowedPanelSubgroupId(String showedPanelSubgroupId) {
this.showedPanelSubgroupId = showedPanelSubgroupId;
}
public void actionGetPanelsPopupPage(CommandRequest request) {
ModalDialogComponent modalDialog = getModalDialogComponent();
if (modalDialog.isShowing()) {
modalDialog.hide();
return;
}
ResourceBundle i18n = localeManager.getBundle("org.jboss.dashboard.ui.panel.messages", LocaleManager.currentLocale());
modalDialog.setTitle(i18n.getString("ui.panels.popup.title"));
modalDialog.setCurrentComponent(this);
modalDialog.setModal(false);
modalDialog.setDraggable(true);
modalDialog.setCloseListener(new Runnable() {
public void run() {
PopupPanelsHandler.this.reset();
}
});
modalDialog.show();
}