This is an example of how page references can be dragged and dropped from a page tree plug-in onto page reference properties in edit panel.
Place all the files in a folder named dragndrop in your webroot and add a control adapter mapping for the InputPageReference control in AdapterMappings.browser.