Configure Eclipse actions with different types of files and open them in [Window> Preferences> General> Editors> File Associations].
There you need to either select the file extension, or add it to the list and choose which program / editor, maybe this is one of Eclipse or one of your own installed programs to open it when it occurs.
Please note that this is for Eclipse Juno v4.2.0. Not sure if this is the same for other versions of Eclipse, but can't stop trying, right?
source
share