Interface ISDPreferences
- All Known Implementing Classes:
SDViewPref
public interface ISDPreferences
Interface for accessing sequence diagram preferences.
- Version:
- 1.0
- Author:
- sveyrier
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe asynchronous message font preference namestatic final StringThe asynchronous message return font preference namestatic final StringThe exclude preference time preference namestatic final StringThe execution occurrence font preference namestatic final StringThe frame font preference namestatic final StringThe frame name font preference namestatic final StringThe lifeline font preference namestatic final StringThe lifeline header font (header = the always visible part of a lifeline)static final StringThe lifeline spacing width preference namestatic final StringThe link font with zoom preference namestatic final StringThe synchronous message font preference namestatic final StringThe synchronous message return font preference namestatic final StringThe time compression bar font preference namestatic final StringThe enable tooltip preference namestatic final StringThe use gradient color preferences name -
Method Summary
Modifier and TypeMethodDescriptiongetBackGroundColor(String prefId) Returns the background color for the given preference name (font preference name)Returns the background color used to draw selectionReturns the font for the given preference namegetFontColor(String prefId) Returns the font color for the given preference name (font preference name)getForeGroundColor(String prefId) Returns the foreground color for the given preference name (font preference name)Returns the foreground color used to draw selectionReturns the time compression bar selection colorbooleanReturns whether to use gradient color or not
-
Field Details
-
PREF_LINK_FONT
The link font with zoom preference name- See Also:
-
PREF_EXCLUDE_EXTERNAL_TIME
The exclude preference time preference name- See Also:
-
PREF_USE_GRADIENT
The use gradient color preferences name- See Also:
-
PREF_LIFELINE_WIDTH
The lifeline spacing width preference name- See Also:
-
PREF_TIME_COMP
The time compression bar font preference name- See Also:
-
PREF_LIFELINE
The lifeline font preference name- See Also:
-
PREF_FRAME
The frame font preference name- See Also:
-
PREF_FRAME_NAME
The frame name font preference name- See Also:
-
PREF_EXEC
The execution occurrence font preference name- See Also:
-
PREF_SYNC_MESS
The synchronous message font preference name- See Also:
-
PREF_SYNC_MESS_RET
The synchronous message return font preference name- See Also:
-
PREF_ASYNC_MESS
The asynchronous message font preference name- See Also:
-
PREF_ASYNC_MESS_RET
The asynchronous message return font preference name- See Also:
-
PREF_LIFELINE_HEADER
The lifeline header font (header = the always visible part of a lifeline)- See Also:
-
PREF_TOOLTIP
The enable tooltip preference name- See Also:
-
-
Method Details
-
getBackGroundColor
Returns the background color for the given preference name (font preference name)- Parameters:
prefId- The preference name- Returns:
- the color
-
getForeGroundColor
Returns the foreground color for the given preference name (font preference name)- Parameters:
prefId- A preference name- Returns:
- the color
-
getFontColor
Returns the font color for the given preference name (font preference name)- Parameters:
prefId- A preference name- Returns:
- the color
-
getFont
Returns the font for the given preference name- Parameters:
prefId- the preference name- Returns:
- the font
-
getTimeCompressionSelectionColor
IColor getTimeCompressionSelectionColor()Returns the time compression bar selection color- Returns:
- the time compression bar selection color
-
getBackGroundColorSelection
IColor getBackGroundColorSelection()Returns the background color used to draw selection- Returns:
- the background color
-
getForeGroundColorSelection
IColor getForeGroundColorSelection()Returns the foreground color used to draw selection- Returns:
- the foreground color
-
useGradienColor
boolean useGradienColor()Returns whether to use gradient color or not- Returns:
- whether to use gradient color or not
-