AutoConnector autoConnector = new AutoConnector(modeler, newNode);
autoConnector.autoConnectAll();
}
// Select the new element
WorkspaceDrawingView workspaceView = modeler.getDrawingView();
workspaceView.singleSelect(addedFigure);
if (addedFigure instanceof NodeFigure && ((NodeFigure) addedFigure).isCreatedFromScratch())
{
// Show the in place editor for all nodes that have been just created
// (don't show for existing items that have been dragged from the compoennt browser)