Package org.rioproject.tools.ui.serviceui

Examples of org.rioproject.tools.ui.serviceui.ServiceElementPanel$Details


                            JDialog dialog =
                                new JDialog((JFrame)null,
                                            "ServiceElement Admin",
                                            true);
                            Container contentPane = dialog.getContentPane();
                            ServiceElementPanel sElemPanel =
                                new ServiceElementPanel(dialog);
                            GraphNode[] nodes =
                                GraphUtil.getChildren(g,
                                                      node.getTableNode());
                            ArrayList<ServiceBeanInstance> list =
                                new ArrayList<ServiceBeanInstance>();
                            for(GraphNode node : nodes) {
                                if(node.getInstance()!=null)
                                    list.add(node.getInstance());
                            }
                            try {
                                OperationalStringManager mgr =
                                    Util.getOperationalStringManager(
                                        node.getProvisionMonitor(),
                                        node.getOpStringName());
                                sElemPanel.showServiceElement(
                                    node.getServiceElement(),
                                    list.toArray(new ServiceBeanInstance[list.size()]),
                                    mgr);

                                contentPane.add(sElemPanel, BorderLayout.CENTER);
View Full Code Here

TOP

Related Classes of org.rioproject.tools.ui.serviceui.ServiceElementPanel$Details

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.