Package net.datacrow.core.wf.requests

Examples of net.datacrow.core.wf.requests.RefreshChildView$Updater


        apply();
        dco.addRequest(new CloseWindowRequest(this));
       
        if (!update)  {
            try {
                dco.addRequest(new RefreshChildView(childForm));
                dco.saveNew(true);
            } catch (ValidationException vExp) {
                DcSwingUtilities.displayWarningMessage(vExp.getMessage());
            }
        } else if (isChanged()) {
            try {
                dco.addRequest(new RefreshChildView(childForm));
                dco.saveUpdate(true);
            } catch (ValidationException vExp) {
                DcSwingUtilities.displayWarningMessage(vExp.getMessage());
            }
        } else if (! isChanged()) {
View Full Code Here


     */
    @Override
    protected void deleteItem() {
        if (DcSwingUtilities.displayQuestion("msgDeleteQuestion")) {
            dco.addRequest(new CloseWindowRequest(this));
            dco.addRequest(new RefreshChildView(childForm));
           
            try {
                dco.delete(false);
            } catch (ValidationException e) {}
        }
View Full Code Here

    }

    @Override
    public Requests getAfterDeleteRequests() {
        Requests requests = new Requests();
        requests.add(new RefreshChildView(this));
        return requests;
    }
View Full Code Here

TOP

Related Classes of net.datacrow.core.wf.requests.RefreshChildView$Updater

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.