@Override
public ICreateFeature[] getCreateFeatures() {
ICreateFeature[] features = ProviderHelper.getCreateFeatures(this);
AbstractNode selectedNode = null;
IDiagramTypeProvider dtp = getDiagramTypeProvider();
IDiagramEditor diagramEditor = dtp.getDiagramEditor();
if (diagramEditor instanceof RiderDesignEditor) {
RiderDesignEditor rider = (RiderDesignEditor) diagramEditor;
selectedNode = rider.getSelectedNode();
if (selectedNode == null) {
selectedNode = rider.getSelectedRoute();