selectionArray = (Object[]) selection;
selectionMac = availableDbObjectsTree.getSelection( );
	public void addDragSupportToTree( )	{		DragSource dragSource = new DragSource( availableDbObjectsTree,				DND.DROP_COPY );		dragSource.setTransfer( new Transfer[]{			TextTransfer.getInstance( )		} );		dragSource.addDragListener( new DragSourceAdapter( ) {			public void dragStart( DragSourceEvent event )			{				TreeItem[] selection = availableDbObjectsTree.getSelection( );				// fix bug 153387				selectionArray = (Object[]) selection;				if ( selection.length > 0 )				{					if ( selection[0].getData( ) instanceof DbObject )					{						if ( ( (DbObject) selection[0].getData( ) ).getType( ) == DbObject.PROCEDURE_TYPE )						{							event.doit = false;							return;						}					}					else if ( selection[0].getData( ) instanceof ProcedureParameter )					{						event.doit = false;						return;					}				}				else if ( selection.length <= 0						|| selection[0].getData( ) == null )				{					event.doit = false;					return;				}			}			public void dragSetData( DragSourceEvent event )			{				if ( TextTransfer.getInstance( )						.isSupportedType( event.dataType ) )				{					populateEventData( event );				}			}		} );	}