String () { String directoryUrl; if (myDirectory != null) { directoryUrl = myDirectory.getVirtualFile().getPresentableUrl(); final VirtualFile baseDir = ProjectUtil.guessProjectDir(myDirectory.getProject()); if (baseDir != null) { final String projectHomeUrl = baseDir.getPresentableUrl(); if (directoryUrl.startsWith(projectHomeUrl)) { directoryUrl = "..." + directoryUrl.substring(projectHomeUrl.length()); } } } else { directoryUrl = ""; } return myPostfix != null ? directoryUrl + myPostfix : directoryUrl; }