Object obj = selection[0].getData( );  if ( obj instanceof DbObject )
String data = ""; for ( int i = 0; i < selection.length; i++ )
	private void populateEventData( TypedEvent event )	{		TreeItem[] selection = availableDbObjectsTree.getSelection( );		if ( selection.length > 0 )		{			Object obj = selection[0].getData( );			// table			if ( obj instanceof DbObject )			{				event.data = getDnDString( ( (DbObject) obj ).getName( ) );			}			// stored procedure			else if ( obj instanceof Procedure )			{				event.data = getDnDString( ( (Procedure) obj ).getProcedureNameWithSchema( ) );			}			// column			else			{				event.data = getDnDString( selection[0].getData( ) );			}		}	}