47d63ffae1bd1c85f163311031c30943f191787d
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / uml2sd / drawings / ISDPreferences.java
1 /**********************************************************************
2 * Copyright (c) 2005, 2006, 2011 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 * $Id: ISDPreferences.java,v 1.2 2006/09/20 20:56:27 ewchan Exp $
8 *
9 * Contributors:
10 * IBM - Initial API and implementation
11 * Bernd Hufmann - Updated for TMF
12 **********************************************************************/
13 package org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings;
14
15 /**
16 * @author sveyrier
17 *
18 */
19 public interface ISDPreferences {
20
21 /**
22 * The link font with zoom preference name
23 */
24 public static final String PREF_LINK_FONT = "PREF_LINK_FONT"; //$NON-NLS-1$
25 /**
26 * The exclude preference time preference name
27 */
28 public static final String PREF_EXCLUDE_EXTERNAL_TIME = "PREF_EXCLUDE_EXTERNAL_TIME"; //$NON-NLS-1$
29 /**
30 * The use gradient color preferences name
31 */
32 public static final String PREF_USE_GRADIENT = "PREF_USE_GRADIENT"; //$NON-NLS-1$
33 /**
34 * The lifeline spacing width preference name
35 */
36 public static final String PREF_LIFELINE_WIDTH = "PREF_LIFELINE_WIDTH"; //$NON-NLS-1$
37 /**
38 * The time compression bar font preference name
39 */
40 public static final String PREF_TIME_COMP = "PREF_TIME_COMP"; //$NON-NLS-1$
41 /**
42 * The lifeline font preference name
43 */
44 public static final String PREF_LIFELINE = "PREF_LIFELINE"; //$NON-NLS-1$
45 /**
46 * The frame font preference name
47 */
48 public static final String PREF_FRAME = "PREF_FRAME"; //$NON-NLS-1$
49 /**
50 * The frame name font preference name
51 */
52 public static final String PREF_FRAME_NAME = "PREF_FRAME_NAME"; //$NON-NLS-1$
53 /**
54 * The execution occurrence font preference name
55 */
56 public static final String PREF_EXEC = "PREF_EXEC"; //$NON-NLS-1$
57 /**
58 * The synchronous message font preference name
59 */
60 public static final String PREF_SYNC_MESS = "PREF_SYNC_MESS"; //$NON-NLS-1$
61 /**
62 * The synchronous message return font preference name
63 */
64 public static final String PREF_SYNC_MESS_RET = "PREF_SYNC_MESS_RET"; //$NON-NLS-1$
65 /**
66 * The asynchronous message font preference name
67 */
68 public static final String PREF_ASYNC_MESS = "PREF_ASYNC_MESS"; //$NON-NLS-1$
69 /**
70 * The asynchronous message return font preference name
71 */
72 public static final String PREF_ASYNC_MESS_RET = "PREF_ASYNC_MESS_RET"; //$NON-NLS-1$
73 /**
74 * The lifeline header font (header = the always visible part of a lifeline)
75 */
76 public static final String PREF_LIFELINE_HEADER = "PREF_LIFELINE_HEADER"; //$NON-NLS-1$
77 /**
78 * The enable tooltip preference name
79 */
80 public static final String PREF_TOOLTIP = "PREF_TOOLTIP"; //$NON-NLS-1$
81
82 /**
83 * Returns the background color for the given preference name (font preference name)
84 *
85 * @param prefId the preference nam
86 * @return the color
87 */
88 public IColor getBackGroundColor(String prefId);
89
90 /**
91 * Returns the foreground color for the given preference name (font preference name)
92 *
93 * @param prefId
94 * @return the color
95 */
96 public IColor getForeGroundColor(String prefId);
97
98 /**
99 * Returns the font color for the given preference name (font preference name)
100 *
101 * @param prefId
102 * @return the color
103 */
104 public IColor getFontColor(String prefId);
105
106 /**
107 * Returns the font for the given preference name
108 *
109 * @param prefId the preference name
110 * @return the font
111 */
112 public IFont getFont(String prefId);
113
114 /**
115 * Returns the time compression bar selection color
116 *
117 * @return
118 */
119 public IColor getTimeCompressionSelectionColor();
120
121 /**
122 * Returns the background color used to draw selection
123 *
124 * @return the color
125 */
126 public IColor getBackGroundColorSelection();
127
128 /**
129 * Returns the foreground color used to draw selection
130 *
131 * @return the color
132 */
133 public IColor getForeGroundColorSelection();
134
135 public boolean useGradienColor();
136
137 }
This page took 0.035843 seconds and 4 git commands to generate.