Package org.apache.batik.apps.svgbrowser.HistoryBrowser

Examples of org.apache.batik.apps.svgbrowser.HistoryBrowser.HistoryBrowserEvent


     */
    public void addToCurrentCompoundCommand(AbstractUndoableCommand cmd) {
        getCurrentCompoundCommand().addCommand(cmd);
        // Fire the 'doCompoundEdit' event
        historyBrowser.fireDoCompoundEdit
            (new HistoryBrowserEvent(getCurrentCompoundCommand()));
    }
View Full Code Here


    public void performCurrentCompoundCommand() {
        if (getCurrentCompoundCommand().getCommandNumber() > 0) {
            historyBrowser.addCommand(getCurrentCompoundCommand());
            // Fire the 'compoundEditPerformed' event
            historyBrowser.fireCompoundEditPerformed
                (new HistoryBrowserEvent(currentCompoundCommand));
            // Reset the current compound command
            currentCompoundCommand = null;
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.batik.apps.svgbrowser.HistoryBrowser.HistoryBrowserEvent

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.