View | Details | Raw Unified
Collapse All | Expand All

(-) ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.properties (+1 lines)
 Lines 522-527    Link Here 
ProfileManager_default_profile_name=Eclipse 2.1 [built-in]
ProfileManager_default_profile_name=Eclipse 2.1 [built-in]
ProfileManager_eclipse_profile_name=Eclipse [built-in]
ProfileManager_eclipse_profile_name=Eclipse [built-in]
ProfileManager_gnu_profile_name=GNU [built-in]
ProfileManager_unnamed_profile_name0=Unnamed profile
ProfileManager_unnamed_profile_name0=Unnamed profile
ProfileManager_java_conventions_profile_name=Java Conventions [built-in]
ProfileManager_java_conventions_profile_name=Java Conventions [built-in]
(-) ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileManager.java (-2 / +17 lines)
 Lines 292-297    Link Here 
	 */
	 */
	public final static String ECLIPSE21_PROFILE= "org.eclipse.jdt.ui.default_profile"; //$NON-NLS-1$
	public final static String ECLIPSE21_PROFILE= "org.eclipse.jdt.ui.default_profile"; //$NON-NLS-1$
	public final static String ECLIPSE_PROFILE= "org.eclipse.jdt.ui.default.eclipse_profile"; //$NON-NLS-1$
	public final static String ECLIPSE_PROFILE= "org.eclipse.jdt.ui.default.eclipse_profile"; //$NON-NLS-1$
	public final static String GNU_PROFILE= "org.eclipse.jdt.ui.default.gnu_profile"; //$NON-NLS-1$
	public final static String JAVA_PROFILE= "org.eclipse.jdt.ui.default.sun_profile"; //$NON-NLS-1$
	public final static String JAVA_PROFILE= "org.eclipse.jdt.ui.default.sun_profile"; //$NON-NLS-1$
	public final static String SHARED_PROFILE= "org.eclipse.jdt.ui.default.shared"; //$NON-NLS-1$
	public final static String SHARED_PROFILE= "org.eclipse.jdt.ui.default.shared"; //$NON-NLS-1$
	
	
 Lines 582-587    Link Here 
		final Profile eclipse21Profile= new BuiltInProfile(ECLIPSE21_PROFILE, FormatterMessages.getString("ProfileManager.default_profile.name"), getEclipse21Settings(), 3); //$NON-NLS-1$
		final Profile eclipse21Profile= new BuiltInProfile(ECLIPSE21_PROFILE, FormatterMessages.getString("ProfileManager.default_profile.name"), getEclipse21Settings(), 3); //$NON-NLS-1$
		profiles.put(eclipse21Profile.getID(), eclipse21Profile);
		profiles.put(eclipse21Profile.getID(), eclipse21Profile);
		profilesByName.add(eclipse21Profile);
		profilesByName.add(eclipse21Profile);
    
		final Profile gnuProfile = new BuiltInProfile(GNU_PROFILE, FormatterMessages.getString("ProfileManager.gnu_profile.name"), getGNUSettings(), 4); //$NON-NLS-1$
		profiles.put(gnuProfile.getID(), gnuProfile);
		profilesByName.add(gnuProfile);
	}
	}
	
	
	
	
 Lines 604-611    Link Here 
		ProfileVersioner.setLatestCompliance(options);
		ProfileVersioner.setLatestCompliance(options);
		return options;
		return options;
	}
	}
	
	/** 
	/**
	 * @return Returns the settings for the GNU profile.
	 */
	public static Map getGNUSettings() {
		final Map options = DefaultCodeFormatterConstants.getGNUSettings();
		
		ProfileVersioner.setLatestCompliance(options);
		return options;
	}
	
	/**
	 * @return Returns the settings for the Java Conventions profile.
	 * @return Returns the settings for the Java Conventions profile.
	 */
	 */
	public static Map getJavaSettings() {
	public static Map getJavaSettings() {