*/
public void directToRectilinear() {
if (getSelectedElements().size() > 0 &&
getSelectedElements().get(0) instanceof UmlConnection) {
UmlConnection conn = (UmlConnection) getSelectedElements().get(0);
execute(new ConvertConnectionTypeCommand(this, conn,
new RectilinearConnection()));
// we can only tell the selection handler to forget about the selection
selectionHandler.deselectAll();
}
}