I've never even looked at the Eclipse source code, so this is just some advice.
Have you searched through the source code and config files looking for the
string "Last Edit Location". This should give you some idea how the button is created. Most projects of this size will use a resource or property file to specify what buttons display where etc. So I doubt you will find an explicit line that looks like:
inside of a .java file, but you never know! Anyway, be sure to search through the properties files as well.
Good luck!