android PopupWindow à partir d'un fragment

J'ai une application qui utilise des fragments, son ok,
mais j'ai maintenant de mettre en œuvre certaines de pop-ups lorsque un bouton dessus,

Je suis ce tutoriel "Exemple d'utilisation de PopupWindow"

Mais j'obtiens cette erreur:

Multiple markers at this line
    - LAYOUT_INFLATER_SERVICE cannot be resolved to a variable
    - The method getBaseContext() is undefined for the type new 
     View.OnClickListener(){}

ici mon .java

public class Tab2HeadH1 extends Fragment   implements OnClickListener{
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.tab_2_head_buttons, container,false);
//Buttons
Button buttonNose = (Button) view.findViewById(R.id.button_pop_nose);
buttonNose.setOnClickListener(new OnClickListener() {
@Override
public void onClick(final View v) {
//aqui tus tareas,,
LayoutInflater layoutInflater = (LayoutInflater)getBaseContext().getSystemService(LAYOUT_INFLATER_SERVICE);  //ERRORS HERE!!
View popupView = layoutInflater.inflate(R.layout.popup, null);  
final PopupWindow popupWindow = new PopupWindow(
popupView, 
LayoutParams.WRAP_CONTENT,  
LayoutParams.WRAP_CONTENT);
}
});
Button buttonEye = (Button) view.findViewById(R.id.button_pop_eye);
buttonEye.setOnClickListener(new OnClickListener() {
@Override
public void onClick(final View v) {
//onLoginClicked(v);
Toast.makeText(getActivity(), "ss9 eye",
Toast.LENGTH_SHORT).show();
}
});
return view;
}
@Override
public void onViewCreated(View view, Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
((TabActivity)getActivity()).setHeader("TAPING APPLICATION");
}
@Override
public void onClick(View v) {
//TODO Auto-generated method stub
switch (v.getId()) {
}
}
}

ALORS, comment puis-je résoudre ce problème??, pour montrer mon pop-up à partir de taraudés bouton dans mon fragment??

OriginalL'auteur manuelBetancurt | 2012-08-01