AutoConnector autoConnector = new AutoConnector(modeler, newSocket);
autoConnector.autoConnectAll();
// Select the new element
WorkspaceDrawingView workspaceView = modeler.getDrawingView();
workspaceView.singleSelect(newSocket);
modeler.getToolSupport().displayInPlaceEditor(newSocket);
return modeler.getPluginComponent().isShowing() ? EVENT_CONSUMED : EVENT_IGNORED;
}