Bug 3970 [preferences] UI needed to define the default line delimiters for new files (1GFIOAX)
When creating a new file we currently use the line delimiter returned form System.getProperties("line.delimiter"). But this is not whay a user always wants. Consider the following sceanrio: - Unix and Windows work station used to develop a Unix product / program. - the Windows work stations are used as X terminals and to run Eclipse (since PC are cheaper than Unix boxes). - even if the new file is created on Windows it should have Unix line delimiters since the end product is a Unix product. There should be a UI (Preference) to define the line delimiter for new files. Possible values are: - Dos / Windows - Mac - Unix - default platform line delimiter. The UI should be provided by the Workbench since all plugins should use the same line delimiter for new files. NOTES:
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceInfoPage.java
private Button editableBox;
	private Button executableBox;
	private Button archiveBox;
	private Button derivedBox;
	private boolean previousReadOnlyValue;
	private boolean previousExecutableValue;
	private boolean previousArchiveValue;
	private boolean previousDerivedValue;
	private IContentDescription cachedContentDescription;
	private ResourceEncodingFieldEditor encodingEditor;
	private static String READ_ONLY = IDEWorkbenchMessages.ResourceInfo_readOnly;
	private static String EXECUTABLE = IDEWorkbenchMessages.ResourceInfo_executable;
	
	private static String ARCHIVE = IDEWorkbenchMessages.ResourceInfo_archive;
	private static String DERIVED = IDEWorkbenchMessages.ResourceInfo_derived;
	private static String TYPE_TITLE = IDEWorkbenchMessages.ResourceInfo_type;
	private static String LOCATION_TITLE = IDEWorkbenchMessages.ResourceInfo_location;
	private static String RESOLVED_LOCATION_TITLE = IDEWorkbenchMessages.ResourceInfo_resolvedLocation;
	private static String SIZE_TITLE = IDEWorkbenchMessages.ResourceInfo_size;
	private static String BYTES_LABEL = IDEWorkbenchMessages.ResourceInfo_bytes;
	private static String FILE_LABEL = IDEWorkbenchMessages.ResourceInfo_file;
	private static String FILE_TYPE_FORMAT = IDEWorkbenchMessages.ResourceInfo_fileTypeFormat;
	private static String FOLDER_LABEL = IDEWorkbenchMessages.ResourceInfo_folder;
	private static String PROJECT_LABEL = IDEWorkbenchMessages.ResourceInfo_project;
	private static String LINKED_FILE_LABEL = IDEWorkbenchMessages.ResourceInfo_linkedFile;
	private static String LINKED_FOLDER_LABEL = IDEWorkbenchMessages.ResourceInfo_linkedFolder;