/** * Adds the given command to current compound command. * * @param cmd * The command to add */ public void addToCurrentCompoundCommand(AbstractUndoableCommand cmd) { getCurrentCompoundCommand().addCommand(cmd); // Fire the 'doCompoundEdit' event historyBrowser.fireDoCompoundEdit (new HistoryBrowserEvent(getCurrentCompoundCommand())); }
/** * Adds the given command to current compound command. * * @param cmd * The command to add */ public void addToCurrentCompoundCommand(AbstractUndoableCommand cmd) { getCurrentCompoundCommand().addCommand(cmd); // Fire the 'doCompoundEdit' event historyBrowser.fireDoCompoundEdit (new HistoryBrowserEvent(getCurrentCompoundCommand())); }