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
-
PREF_EXCLUDE_EXTERNAL_TIME
The exclude preference time preference name- See Also:
-
PREF_USE_GRADIENT
-
PREF_LIFELINE_WIDTH
-
PREF_TIME_COMP
-
PREF_LIFELINE
-
PREF_FRAME
-
PREF_FRAME_NAME
-
PREF_EXEC
-
PREF_SYNC_MESS
-
PREF_SYNC_MESS_RET
The synchronous message return font preference name- See Also:
-
PREF_ASYNC_MESS
-
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
-
-
Method Details
-
getBackGroundColor
-
getForeGroundColor
-
getFontColor
-
getFont
-
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
-