Package org.apache.cayenne.configuration.event

Examples of org.apache.cayenne.configuration.event.ProcedureParameterEvent


    static void fireProcedureParameterEvent(
            Object src,
            ProjectController mediator,
            Procedure procedure,
            ProcedureParameter parameter) {
        mediator.fireProcedureParameterEvent(new ProcedureParameterEvent(
                src,
                parameter,
                MapEvent.ADD));

        mediator.fireProcedureParameterDisplayEvent(new ProcedureParameterDisplayEvent(
View Full Code Here


        for (ProcedureParameter parameter : parameters) {

            procedure.removeCallParameter(parameter.getName());

            ProcedureParameterEvent e = new ProcedureParameterEvent(Application
                    .getFrame(), parameter, MapEvent.REMOVE);

            mediator.fireProcedureParameterEvent(e);
        }
    }
View Full Code Here

        if (parameter == null) {
            return;
        }

        ProcedureParameterEvent event =
            new ProcedureParameterEvent(eventSource, parameter);
        switch (columnIndex) {
            case PARAMETER_NAME :
                event.setOldName(parameter.getName());
                setParameterName((String) newVal, parameter);
                fireTableCellUpdated(rowIndex, columnIndex);
                break;
            case PARAMETER_DIRECTION :
                setParameterDirection((String) newVal, parameter);
View Full Code Here

TOP

Related Classes of org.apache.cayenne.configuration.event.ProcedureParameterEvent

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.