MethodCall methodcall = selectorMap.get(command);
if (methodcall != null) {
methodcall.call(this);
} else {
DiagramEditor editor = getCurrentEditor();
if (editor != null) editor.handleCommand(command);
}
}
/**
* Returns the currently selected editor.