When a file path is very long, the name of the actual
file may not be visible in the title bar. If a file
path gets too long for the title bar, it should be
abbreviated by removing directory elements in the
middle, e.g.:
/home/username/some/very/long/path/name/FileName.java
/home/username/.../name/FileName.java
Directory elements that are below the project root
should probably not be removed.