Assert.isNotNull( editPart ); return performInsert( insertObj, editPart.getModel( ), editPart.getParent( ).getModel( ) );
Assert.isNotNull( target ); if ( insertObj instanceof DataSetHandle ) { return performInsertDataSet( (DataSetHandle) insertObj ); } else if ( insertObj instanceof DataSetItemModel ) { return performInsertDataSetColumn( (DataSetItemModel) insertObj, target, targetParent ); } else if ( insertObj instanceof ScalarParameterHandle ) { return performInsertParameter( (ScalarParameterHandle) insertObj ); } else if ( insertObj instanceof String ) {  return performInsertString( (String) insertObj, target ); } else if ( insertObj instanceof Object[] ) { return performMultiInsert( (Object[]) insertObj, target, targetParent ); } else if ( insertObj instanceof IStructuredSelection ) { return performMultiInsert( ( (IStructuredSelection) insertObj ).toArray( ), target, targetParent ); } return null;
	public static DesignElementHandle performInsert( Object insertObj,			EditPart editPart ) throws SemanticException	{		Assert.isNotNull( insertObj );		Assert.isNotNull( editPart );		return performInsert( insertObj,				editPart.getModel( ),				editPart.getParent( ).getModel( ) );	}