Package org.jbpm.formbuilder.client.bus

Examples of org.jbpm.formbuilder.client.bus.UndoRedoEvent


    public synchronized void undo() {
        if (canUndo()) {
            UndoableEvent event = undoRedoWindow.get(index);
            index--;
            event.getRollbackHandler().undoAction(event);
            bus.fireEvent(new UndoRedoEvent());
        }
    }
View Full Code Here


    public synchronized void redo() {
        if (canRedo()) {
            index++;
            UndoableEvent event = undoRedoWindow.get(index);
            event.getRollbackHandler().doAction(event);
            bus.fireEvent(new UndoRedoEvent());
        }
    }
View Full Code Here

TOP

Related Classes of org.jbpm.formbuilder.client.bus.UndoRedoEvent

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.