fireCommandsChanged();
// the command may have changed the selection so tell the listeners about the current situation
DataSet ds = Main.main.getCurrentDataSet();
if (ds != null) {
ds.fireSelectionChanged();
}
}
/**
* Executes the command and add it to the intern command queue.