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;
}
}