In the eclipse "plug-in with a popup menu" example, how would I go about extending the functionality so that a dialog box pops up saying the name of the file / resource I just clicked on? Thanks for any tips. Looking at the code I can't tell how it knows which file I clicked on...