@Override protected void structureChanged(IFile file, boolean added) { // If a plugin.xml file has been added to the project the editor should update if (added && ICoreConstants.PLUGIN_FILENAME_DESCRIPTOR.equalsIgnoreCase(file.getName())) { IProject project = getCommonProject(); if (project == null || project.equals(file.getProject())) { monitorFile(file); } } super.structureChanged(file, added); }