Package org.apache.idaeplugin.bean

Examples of org.apache.idaeplugin.bean.ServiceObj


                if(oprationObj.getSelect().booleanValue()){
                    ops.add(oprationObj.getOpName());
                }
            }

            ServiceObj service= new ServiceObj(txtServiceName.getText(),fileName,ops);
            servicelsit.add(service);
            if(!parent.singleService){
                int valu = JOptionPane.showConfirmDialog(parent,"Do you want to add an another service to group","Service Archive",
                        JOptionPane.YES_NO_OPTION);
                if(valu == 0){
                    txtClassDir.setText("");
                    fileName = "";
                    try {
                        this.remove(sp);
                        this.remove(tablelbl);
                        butDone.setVisible(false);
                        lblServiceNam.setVisible(false);
                        txtServiceName.setVisible(false);
                    } catch (Exception e1) {
//                    e1.printStackTrace();
                    }
                    count ++;
                    parent.reShow();
                    this.repaint();
                } else {
                    parent.setEnable(false,true,false,true);
                    sgXMl = "<serviceGroup>\n";
                    for (int i = 0; i < servicelsit.size(); i++) {
                        ServiceObj serviceObj = (ServiceObj) servicelsit.get(i);
                        sgXMl = sgXMl + serviceObj.toString();
                    }
                    sgXMl = sgXMl + "</serviceGroup>";
                    disfile = new DescriptorFile(parent,sgXMl);
                    disfile.setPrivious(this);
                }
            } else {
                parent.setEnable(false,true,false,true);
                sgXMl = "<serviceGroup>\n";
                for (int i = 0; i < servicelsit.size(); i++) {
                    ServiceObj serviceObj = (ServiceObj) servicelsit.get(i);
                    sgXMl = sgXMl + serviceObj.toString();
                }
                sgXMl = sgXMl + "</serviceGroup>";
                disfile = new DescriptorFile(parent,sgXMl);
                disfile.setPrivious(this);
            }
View Full Code Here

TOP

Related Classes of org.apache.idaeplugin.bean.ServiceObj

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.