Take a look on the JDT / PDE externalyze string function. To do this just
right click inside the Java editor and the contextual menu should propose
it somewhere.
When doing this a simple Message class is automatically created and is
able to read a given properties file. You could may be reuse this class ...