private void onShowPopUp(View anchor,IDirectory selection){
  PopupMenu popup=new PopupMenu(getActivity(),anchor);
  popup.setOnMenuItemClickListener(popUpListener);
  MenuInflater inflater=popup.getMenuInflater();
  inflater.inflate(this.mContextMenue,popup.getMenu());
  mPopUpSelection=selection;
  popup.show();
}

private void onShowPopUp ( View anchor , IDirectory selection ) { PopupMenu popup = new PopupMenu ( getActivity ( ) , anchor ) ; popup . setOnMenuItemClickListener ( popUpListener ) ; MenuInflater inflater = popup . getMenuInflater ( ) ; inflater . inflate ( this . mContextMenue , popup . getMenu ( ) ) ; mPopUpSelection = selection ; popup . show ( ) ; }
called via pathbar - button - longclick , tree - item - longclick , popup - button
