final VirtualFile virtualFile = project.getXmlFile().getVirtualFile();
if (virtualFile == null)
throw new IllegalStateException("PSI file has no virtual project.");
final VirtualFile dir = virtualFile.getParent();
extendField = new RelativeTextFieldWithBrowseButton(dir);
logoUriField = new RelativeTextFieldWithBrowseButton(dir);
orgLogoUrlField = new RelativeTextFieldWithBrowseButton(dir);
initComponents();
layoutComponents();
bindComponents();
}