Package org.apache.ideaplugin.bean

Examples of org.apache.ideaplugin.bean.OperationObj


        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

                Method[] methods = serCla.getDeclaredMethods();
                operations = new HashMap();
                if (methods.length > 0) {
                    for (int i = 0; i < methods.length; i++) {
                        Method method = methods[i];
                        OperationObj operationobj = new OperationObj(method.getName(),
                                method.getReturnType().toString(),
                                new Integer(method.getParameterTypes().length), new Boolean(false));
                        operations.put(method.getName(), operationobj);
                    }
                }
View Full Code Here

    public void process(){

        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);
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.