public void registerDropPasteWorker(DropPasteWorkerInterface worker)
    {
        this.dropPasteWorkerSet.add(worker);
        defaultDropTarget.setDefaultActions( 
            defaultDropTarget.getDefaultActions() 
            | worker.getAcceptableActions(defaultDropTarget.getComponent())
                                           );
    }
public void registerDropPasteWorker ( DropPasteWorkerInterface worker ) { this . dropPasteWorkerSet . add ( worker ) ; defaultDropTarget . setDefaultActions ( defaultDropTarget . getDefaultActions ( ) | worker . getAcceptableActions ( defaultDropTarget . getComponent ( ) ) ) ; }
Register a new DropPasteWorkerInterface.
@param worker The new worker