Package org.jitterbit.ui.undo

Examples of org.jitterbit.ui.undo.KongaCompoundEdit


    public final void startCompoundEdit() {
        if (isChangeUndoable()) {
            if (compoundEdits == null) {
                compoundEdits = new Stack<KongaCompoundEdit>();
            }
            compoundEdits.push(new KongaCompoundEdit());
        }
    }
View Full Code Here


        }
    }

    public final void stopCompoundEdit() {
        if (isChangeUndoable() && compoundEdits != null && !compoundEdits.isEmpty()) {
            KongaCompoundEdit edit = compoundEdits.pop();
            edit.end();
            if (!edit.isEmpty()) {
                handleEdit(edit);
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.undo.KongaCompoundEdit

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.