Maybe add those methods to a Constants class instead of Editor.java.