Package org.rhq.coregui.client.inventory.resource.detail.inventory

Examples of org.rhq.coregui.client.inventory.resource.detail.inventory.ResourceResourceGroupsView


        if (this.resourceIdToModify != null) {
            addTableAction(MSG.view_tabs_common_group_membership() + "...", new AbstractTableAction(
                TableActionEnablement.ALWAYS) {
                @Override
                public void executeAction(ListGridRecord[] selection, Object actionValue) {
                    ResourceResourceGroupsView membershipView = new ResourceResourceGroupsView(
                        ResourceGroupListView.this.resourceIdToModify.intValue());

                    final PopupWindow winModal = new PopupWindow(membershipView);
                    winModal.setTitle(MSG.view_tabs_common_group_membership());
                    winModal.setWidth(700);
                    winModal.setHeight(450);
                    winModal.addCloseClickHandler(new CloseClickHandler() {
                        public void onCloseClick(CloseClickEvent event) {
                            refreshTableInfo(); // make sure we re-enable the footer buttons in case user canceled
                        }
                    });

                    membershipView.setSaveButtonHandler(new ClickHandler() {
                        @Override
                        public void onClick(ClickEvent event) {
                            winModal.markForDestroy();
                            CoreGUI.refresh();
                        }
View Full Code Here

TOP

Related Classes of org.rhq.coregui.client.inventory.resource.detail.inventory.ResourceResourceGroupsView

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.