Bug 300502 Add UI for finer grained file permissions
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceInfoPage.java
}
			}
		});
		
		if (resource.getType() == IResource.PROJECT) {
			lineDelimiterEditor = new LineDelimiterEditor(composite, resource
					.getProject());
			lineDelimiterEditor.doLoad();
		}
		
		
		if (resource.getType() == IResource.PROJECT && !((IProject)resource).isOpen()){
			encodingEditor.setEnabled(false, composite);
			lineDelimiterEditor.setEnabled(false);
		}
		
		Dialog.applyDialogFont(composite);
		return composite;
	}
	/**
	 * Return the label for the encoding field editor for the resource.
	 * 
	 * @param resource -
	 *            the resource to edit.
	 * @return String
	 */
	private String getFieldEditorLabel(IResource resource) {
		if (resource instanceof IContainer) {
			return CONTAINER_ENCODING_TITLE;
		}