|
From: Christopher W. <caw...@us...> - 2006-03-30 03:05:08
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30161/src/org/rubypeople/rdt/ui Modified Files: RubyElementLabels.java PreferenceConstants.java Log Message: Index: PreferenceConstants.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/PreferenceConstants.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** PreferenceConstants.java 25 Mar 2006 02:37:44 -0000 1.13 --- PreferenceConstants.java 30 Mar 2006 03:05:01 -0000 1.14 *************** *** 10,14 **** public class PreferenceConstants { ! private PreferenceConstants() { } --- 10,14 ---- public class PreferenceConstants { ! private PreferenceConstants() { } *************** *** 23,26 **** --- 23,44 ---- private final static String DEFAULT_RI_CMD = "ri"; //$NON-NLS-1$ + /** + * A named preference that controls parameter names rendering of methods in the UI. + * <p> + * Value is of type <code>Boolean</code>: if <code>true</code> return names + * are rendered + * </p> + * @since 0.8.0 + */ + public static final String APPEARANCE_METHOD_PARAMETER_NAMES= "org.rubypeople.rdt.ui.methodparameternames";//$NON-NLS-1$ + + /** + * A named preference that specifies whether children of a ruby script are shown in the package explorer. + * <p> + * Value is of type <code>Boolean</code>. + * </p> + */ + public static final String SHOW_CU_CHILDREN= "org.rubypeople.rdt.ui.packages.rubyscriptchildren"; //$NON-NLS-1$ + /** * A named preference that controls whether folding is enabled in the Ruby *************** *** 232,235 **** --- 250,285 ---- */ public static final String BROWSING_STACK_VERTICALLY= "org.rubypeople.rdt.ui.browsing.stackVertically"; //$NON-NLS-1$ + + /** + * A named preference that controls whether the projects view's selection is + * linked to the active editor. + * <p> + * Value is of type <code>Boolean</code>. + * </p> + * @since 0.8.0 + */ + public static final String LINK_BROWSING_PROJECTS_TO_EDITOR= "org.rubypeople.rdt.ui.browsing.projectstoeditor"; //$NON-NLS-1$ + + /** + * A named preference that controls whether the types view's selection is + * linked to the active editor. + * <p> + * Value is of type <code>Boolean</code>. + * </p> + * @since 0.8.0 + */ + public static final String LINK_BROWSING_TYPES_TO_EDITOR= "org.rubypeople.rdt.ui.browsing.typestoeditor"; //$NON-NLS-1$ + + + /** + * A named preference that controls whether the members view's selection is + * linked to the active editor. + * <p> + * Value is of type <code>Boolean</code>. + * </p> + * @since 0.8.0 + */ + public static final String LINK_BROWSING_MEMBERS_TO_EDITOR= "org.rubypeople.rdt.ui.browsing.memberstoeditor"; //$NON-NLS-1$ + public static void initializeDefaultValues(IPreferenceStore store) { *************** *** 241,244 **** --- 291,298 ---- store.setDefault(PreferenceConstants.FORMATTER_PROFILE, ProfileManager.DEFAULT_PROFILE); + + store.setDefault(PreferenceConstants.LINK_BROWSING_PROJECTS_TO_EDITOR, true); + store.setDefault(PreferenceConstants.LINK_BROWSING_TYPES_TO_EDITOR, true); + store.setDefault(PreferenceConstants.LINK_BROWSING_MEMBERS_TO_EDITOR, true); // MembersOrderPreferencePage Index: RubyElementLabels.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/RubyElementLabels.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RubyElementLabels.java 25 Mar 2006 02:37:43 -0000 1.2 --- RubyElementLabels.java 30 Mar 2006 03:05:01 -0000 1.3 *************** *** 233,241 **** */ public final static String ELLIPSIS_STRING = "..."; //$NON-NLS-1$ - /** - * User-readable string for the default package name (e.g. "(default - * package)"). - */ - public final static String DEFAULT_PACKAGE = RubyUIMessages.RubyElementLabels_default_package; private final static long QUALIFIER_FLAGS = P_COMPRESSED | USE_RESOLVED; --- 233,236 ---- |