Basic Reafctoring functionality adapted from Leif Frenzels sources in eclipse-magazin...