question: private void addPinClickListener ( final ClickEvent event ) { eventBus . publish ( this , DragEvent . HIDE_DROP_HINT ) ; checkifAlreadyPinned ( event . getButton ( ) ) ; if ( isTargetPinned ) { pinTarget ( event . getButton ( ) ) ; } else { unPinTarget ( event . getButton ( ) ) ; } }
target:  Add listener to pin.