Package org.apache.ideaplugin.bean

Examples of org.apache.ideaplugin.bean.OperationObj


                    operations.clear();
                } catch (Exception e1) {
                }
                for (int i = 0 ; i < methodCount; i++){
                    Method method = methods[i];
                    OperationObj operationobj = new OperationObj(method.getName(),
                            method.getReturnType().toString(),
                            new Integer(method.getParameterTypes().length), new Boolean(true));
                    operations.put(method.getName(), operationobj);
                }
View Full Code Here


    private void serviceGroupProcess(){

        ArrayList ops = new ArrayList();
            Iterator opitr = operations.values().iterator();
            while (opitr.hasNext()) {
                OperationObj operationObj = (OperationObj) opitr.next();
                if (operationObj.getSelect().booleanValue()) {
                    ops.add(operationObj.getOpName());
                }
            }

            ServiceObj service = new ServiceObj(txtServiceName.getText(), fileName, ops);
            archiveBean.addToServicelsit(service);
View Full Code Here

    private void checkautoGeneration(){
        ArrayList ops = new ArrayList();
        Iterator opitr = operations.values().iterator();
        while (opitr.hasNext()) {
            OperationObj operationObj = (OperationObj) opitr.next();
            if (operationObj.getSelect().booleanValue()) {
                ops.add(operationObj.getOpName());
            }
        }
        txtServiceName.setText(txtServiceName.getText());
        ServiceObj service = new ServiceObj(txtServiceName.getText(), fileName, ops);
        archiveBean.addToServicelsit(service);
View Full Code Here

        int size = dataobject.size();
        datvalue = new Object[size][4];
        Iterator itr = dataobject.values().iterator();
        int count = 0;
        while (itr.hasNext()) {
            OperationObj operationObj = (OperationObj) itr.next();
            datvalue[count][0] = operationObj.getOpName();
            datvalue[count][1] = operationObj.getReturnValue();
            datvalue[count][2] = operationObj.getParameters();
            datvalue[count][3] = operationObj.getSelect();
            count++;
        }
        this.datobjs = dataobject;
    }
View Full Code Here

    public boolean isCellEditable(int row, int col) {
        return col >= 3;
    }

    public void setValueAt(Object value, int row, int col) {
        OperationObj obj = (OperationObj) datobjs.get(getValueAt(row, 0));
        if (col == 3) {
            obj.setSelect((Boolean) value);
        }

        if (datvalue[0][col] instanceof Integer) {
            try {
                datvalue[row][col] = new Integer((String) value);
View Full Code Here

        int size = dataobject.size();
        datvalue = new Object[size][4];
        Iterator itr = dataobject.values().iterator();
        int count = 0;
        while (itr.hasNext()) {
            OperationObj operationObj = (OperationObj) itr.next();
            datvalue[count][0] = operationObj.getOpName();
            datvalue[count][1] = operationObj.getReturnValue();
            datvalue[count][2] = operationObj.getParameters();
            datvalue[count][3] = operationObj.getSelect();
            count++;
        }
        this.datobjs = dataobject;
    }
View Full Code Here

    public boolean isCellEditable(int row, int col) {
        return col >= 3;
    }

    public void setValueAt(Object value, int row, int col) {
        OperationObj obj = (OperationObj) datobjs.get(getValueAt(row, 0));
        if (col == 3) {
            obj.setSelect((Boolean) value);
        }

        if (datvalue[0][col] instanceof Integer) {
            try {
                datvalue[row][col] = new Integer((String) value);
View Full Code Here

                    operations.clear();
                } catch (Exception e1) {
                }
                for (int i = 0 ; i < methodCount; i++){
                    Method method = methods[i];
                    OperationObj operationobj = new OperationObj(method.getName(),
                            method.getReturnType().toString(),
                            new Integer(method.getParameterTypes().length), new Boolean(true));
                    operations.put(method.getName(), operationobj);
                }
View Full Code Here

    private void serviceGroupProcess(){

        ArrayList ops = new ArrayList();
            Iterator opitr = operations.values().iterator();
            while (opitr.hasNext()) {
                OperationObj operationObj = (OperationObj) opitr.next();
                if (operationObj.getSelect().booleanValue()) {
                    ops.add(operationObj.getOpName());
                }
            }

            ServiceObj service = new ServiceObj(txtServiceName.getText(), fileName, ops);
            archiveBean.addToServicelsit(service);
View Full Code Here

    private void checkautoGeneration(){
        ArrayList ops = new ArrayList();
        Iterator opitr = operations.values().iterator();
        while (opitr.hasNext()) {
            OperationObj operationObj = (OperationObj) opitr.next();
            if (operationObj.getSelect().booleanValue()) {
                ops.add(operationObj.getOpName());
            }
        }
        txtServiceName.setText(txtServiceName.getText());
        ServiceObj service = new ServiceObj(txtServiceName.getText(), fileName, ops);
        archiveBean.addToServicelsit(service);
View Full Code Here

TOP

Related Classes of org.apache.ideaplugin.bean.OperationObj

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.