KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > team > internal > ui > IPreferenceIds


1 /*******************************************************************************
2  * Copyright (c) 2000, 2007 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.team.internal.ui;
12
13 public interface IPreferenceIds {
14     public static final String JavaDoc PREFIX = TeamUIPlugin.ID + "."; //$NON-NLS-1$
15

16     /*
17      * Default model provider layout to use with SubscriberSynchronizePage. The user can configure but this
18      * is used to select the initial layout.
19      */

20     public static final String JavaDoc SYNCVIEW_DEFAULT_LAYOUT = PREFIX + "default_layout"; //$NON-NLS-1$
21

22     /*
23      * Values used to indicate which layout to use as the default.
24      */

25     public static final String JavaDoc FLAT_LAYOUT = PREFIX + "flay_layout"; //$NON-NLS-1$
26
public static final String JavaDoc COMPRESSED_LAYOUT = PREFIX + "compressed_layout"; //$NON-NLS-1$
27
public static final String JavaDoc TREE_LAYOUT = PREFIX + "tree_layout"; //$NON-NLS-1$
28

29     /*
30      * Previous preference which is kept so it can be converted to the new preference (SYNCVIEW_DEFAULT_LAYOUT)
31      * @deprecated
32      */

33     public static final String JavaDoc SYNCVIEW_COMPRESS_FOLDERS = PREFIX + "compress_folders"; //$NON-NLS-1$
34

35     /*
36      * Preference to enable displaying synchronization state in the elements label. This
37      * preference is used automatically with {@link StructuredViewerAdvisor}.
38      */

39     public static final String JavaDoc SYNCVIEW_VIEW_SYNCINFO_IN_LABEL = PREFIX + "view_syncinfo_in_label"; //$NON-NLS-1$
40

41     /*
42      * Preference to enable the presence of the author field in a compare editor
43      */

44     public static final String JavaDoc SHOW_AUTHOR_IN_COMPARE_EDITOR = PREFIX + "show_author_in_compare_editor"; //$NON-NLS-1$
45

46     /*
47      * Preference to enable the presence of the author field in a compare editor
48      */

49     public static final String JavaDoc MAKE_FILE_WRITTABLE_IF_CONTEXT_MISSING = PREFIX + "validate_edit_with_no_context"; //$NON-NLS-1$
50
public static final String JavaDoc REUSE_OPEN_COMPARE_EDITOR= PREFIX + "reuse_open_compare_editors"; //$NON-NLS-1$
51

52     /*
53      * Preference to enable the import of a project set to be run in the background
54      */

55     public static final String JavaDoc RUN_IMPORT_IN_BACKGROUND= PREFIX + "run_import_in_background_"; //$NON-NLS-1$
56

57     /*
58      * Preference to manage the perspective used to synchronize.
59      */

60     public static final String JavaDoc SYNCVIEW_DEFAULT_PERSPECTIVE = PREFIX + "syncview_default_perspective"; //$NON-NLS-1$
61
public static final String JavaDoc SYNCVIEW_DEFAULT_PERSPECTIVE_NONE = PREFIX + "sync_view_perspective_none"; //$NON-NLS-1$
62
public static final String JavaDoc SYNCHRONIZING_COMPLETE_PERSPECTIVE = PREFIX + "sychronizing_default_perspective_to_show"; //$NON-NLS-1$
63

64     /*
65      * Preference to save the last participant selected via the global synchronize action.
66      */

67     public static final String JavaDoc SYNCHRONIZING_DEFAULT_PARTICIPANT = PREFIX + "sychronizing_default_participant"; //$NON-NLS-1$
68
public static final String JavaDoc SYNCHRONIZING_DEFAULT_PARTICIPANT_SEC_ID = PREFIX + "sychronizing_default_participant_sec_id"; //$NON-NLS-1$
69

70     /*
71      * Preference for disabling various prompts
72      */

73     public static final String JavaDoc SYNCVIEW_REMOVE_FROM_VIEW_NO_PROMPT = PREFIX + "remove_from_view_without_prompt"; //$NON-NLS-1$
74

75     /*
76      * Preference to determine if the workspace is started for the first time.
77      */

78     public static final String JavaDoc PREF_WORKSPACE_FIRST_TIME = PREFIX + "first_time"; //$NON-NLS-1$
79

80     /*
81      * Preferences for the Local History Page
82      */

83     public static final String JavaDoc PREF_GROUPBYDATE_MODE = PREFIX + "group_bydate_mode"; //$NON-NLS-1$
84

85 }
86
Popular Tags