Examples of fireProcedureEvent()


Examples of org.apache.cayenne.modeler.ProjectController.fireProcedureEvent()

                procedure,
                MapEvent.REMOVE);
        e.setDomain((DataChannelDescriptor) mediator.getProject().getRootNode());

        map.removeProcedure(procedure.getName());
        mediator.fireProcedureEvent(e);
    }

    /**
     * Removes current object entity from its DataMap.
     */
 
View Full Code Here

Examples of org.apache.cayenne.modeler.ProjectController.fireProcedureEvent()

    public void performAction(ActionEvent e) {
        ProjectController mediator = getProjectController();
        Procedure procedure = createProcedure(mediator.getCurrentDataMap());

        mediator.fireProcedureEvent(new ProcedureEvent(this, procedure, MapEvent.ADD));
        mediator.fireProcedureDisplayEvent(new ProcedureDisplayEvent(
                this,
                procedure,
                mediator.getCurrentDataMap(),
                mediator.getCurrentDataDomain()));
View Full Code Here

Examples of org.apache.cayenne.modeler.ProjectController.fireProcedureEvent()

    protected void removeProcedure() {
        ProjectController mediator = getProjectController();
        Procedure procedure = mediator.getCurrentProcedure();
        DataMap map = mediator.getCurrentDataMap();
        map.removeProcedure(procedure.getName());
        mediator.fireProcedureEvent(new ProcedureEvent(
                Application.getFrame(),
                procedure,
                MapEvent.REMOVE));
    }
View Full Code Here

Examples of org.apache.cayenne.modeler.ProjectController.fireProcedureEvent()

                procedure,
                MapEvent.REMOVE);
        e.setDomain((DataChannelDescriptor) mediator.getProject().getRootNode());

        map.removeProcedure(procedure.getName());
        mediator.fireProcedureEvent(e);
    }

    /**
     * Removes current object entity from its DataMap.
     */
 
View Full Code Here

Examples of org.apache.cayenne.modeler.ProjectController.fireProcedureEvent()

                procedure,
                MapEvent.REMOVE);
        e.setDomain(mediator.findDomain(map));

        map.removeProcedure(procedure.getName());
        mediator.fireProcedureEvent(e);
    }

    /**
     * Removes current object entity from its DataMap.
     */
 
View Full Code Here

Examples of org.apache.cayenne.modeler.ProjectController.fireProcedureEvent()

                procedure,
                MapEvent.REMOVE);
        e.setDomain((DataChannelDescriptor) mediator.getProject().getRootNode());

        map.removeProcedure(procedure.getName());
        mediator.fireProcedureEvent(e);
    }

    /**
     * Removes current object entity from its DataMap.
     */
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.