by the selection in the currently opened explorer: either the package explorer or the project explorer.