Package org.jitterbit.application.ui.window.editor

Examples of org.jitterbit.application.ui.window.editor.NoUndoService


    private final UndoHandler undoHandler;

    private final RedoHandler redoHandler;

    public UndoRedoHandler(ActionDelegator delegator) {
        currentService = new NoUndoService();
        undoHandler = new UndoHandler(delegator);
        redoHandler = new RedoHandler(delegator);
        listener = new UndoServiceListener() {

            @Override
View Full Code Here


        };
    }

    public void activeEditorChanged(Editor active) {
        currentService.removeListener(listener);
        currentService = (active != null) ? active.getUndoService() : new NoUndoService();
        currentService.addListener(listener);
        updateState();
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.application.ui.window.editor.NoUndoService

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.