|
TPTP 4.5.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.hyades.uml2sd.ui.preferences.SDViewPref
public class SDViewPref
This is the Sequence Diagram preference handler This class is reponsible for accessing the current user preferences selection This class also provider getters for each modifiable preferences
| Field Summary | |
|---|---|
static java.lang.String |
BACK_COLOR_POSTFIX
|
static java.lang.String[] |
fontList
|
static java.lang.String[] |
fontList2
|
static java.lang.String |
FORE_COLOR_POSTFIX
|
static java.lang.String[] |
prefBackColorList
|
static java.lang.String[] |
prefForeColorList
|
static java.lang.String[] |
prefTextColorList
|
static java.lang.String |
TEXT_COLOR_POSTFIX
|
| Fields inherited from interface org.eclipse.hyades.uml2sd.ui.drawings.ISDPreferences |
|---|
PREF_ASYNC_MESS, PREF_ASYNC_MESS_RET, PREF_EXCLUDE_EXTERNAL_TIME, PREF_EXEC, PREF_FRAME, PREF_FRAME_NAME, PREF_LIFELINE, PREF_LIFELINE_HEADER, PREF_LIFELINE_WIDTH, PREF_LINK_FONT, PREF_SYNC_MESS, PREF_SYNC_MESS_RET, PREF_TIME_COMP, PREF_TOOLTIP, PREF_USE_GRADIENT |
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
|
void |
apply()
Apply the preferences in the preferences handler |
boolean |
excludeExternalTime()
Return true if the user do not want to take external time (basically found and lost messages with time) into account in the min max computation |
boolean |
fontLinked()
Returns if font linkage with zoom has been chosen |
IColor |
getBackGroundColor(java.lang.String prefName)
Returns the chosen backgrounf color |
IColor |
getBackGroundColorSelection()
Returns the background color to use for widget selection. |
IFont |
getFont(java.lang.String prefName)
Returns the chosen font |
IColor |
getFontColor(java.lang.String prefName)
Returns the chosen font color |
IColor |
getForeGroundColor(java.lang.String prefName)
Returns the chosen foreground color |
IColor |
getForeGroundColorSelection()
Returns the forground color to use for widget selection. |
static SDViewPref |
getInstance()
Returns an unique instance of the Sequence Diagram preference handler |
int |
getLifelineWidth()
Returns the SwimLane width chosen |
org.eclipse.jface.preference.IPreferenceStore |
getPreferenceStore()
Returns the PreferenceStore |
IColor |
getTimeCompressionSelectionColor()
Returns the color used to connect the time compression bar to the diagram graph node |
void |
propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
|
void |
removePropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
|
void |
setNoFocusSelection(boolean v)
|
boolean |
tooltipEnabled()
Returns the tooltip enablement |
boolean |
useGradienColor()
Returns if the use gradient color has been chosen |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String BACK_COLOR_POSTFIX
public static final java.lang.String FORE_COLOR_POSTFIX
public static final java.lang.String TEXT_COLOR_POSTFIX
public static final java.lang.String[] fontList
public static final java.lang.String[] fontList2
public static final java.lang.String[] prefBackColorList
public static final java.lang.String[] prefForeColorList
public static final java.lang.String[] prefTextColorList
| Method Detail |
|---|
public org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
public void apply()
public static SDViewPref getInstance()
public IColor getForeGroundColor(java.lang.String prefName)
getForeGroundColor in interface ISDPreferencespublic IColor getBackGroundColor(java.lang.String prefName)
getBackGroundColor in interface ISDPreferencesprefName - the preference nam
public IColor getFontColor(java.lang.String prefName)
getFontColor in interface ISDPreferencespublic IColor getForeGroundColorSelection()
getForeGroundColorSelection in interface ISDPreferencespublic IColor getBackGroundColorSelection()
getBackGroundColorSelection in interface ISDPreferencespublic IFont getFont(java.lang.String prefName)
getFont in interface ISDPreferencesprefName - the preference name
public int getLifelineWidth()
public boolean fontLinked()
public boolean tooltipEnabled()
public boolean excludeExternalTime()
public boolean useGradienColor()
useGradienColor in interface ISDPreferencespublic IColor getTimeCompressionSelectionColor()
getTimeCompressionSelectionColor in interface ISDPreferencespublic void addPropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
public void removePropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
public void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
propertyChange in interface org.eclipse.jface.util.IPropertyChangeListenerpublic void setNoFocusSelection(boolean v)
|
TPTP 4.5.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||