use of org.talend.commons.ui.swt.drawing.link.IDrawableLink in project tdi-studio-se by Talend.
the class StyleLinkFactory method getSelectedSameVarsZoneStyle.
/**
* DOC amaumont Comment method "getSelectedSameZoneStyle".
*
* @param foregroundColor
* @return
*/
public IStyleLink getSelectedSameVarsZoneStyle() {
StyleLink style = new StyleLink();
setCommonsStyleProperties(style);
IDrawableLink sameZoneLink = getSameZoneLink(style);
style.setDrawableLink(sameZoneLink);
ExtremityWestArrow westArrow = new ExtremityWestArrow(style);
style.setExtremity1(westArrow);
ExtremityEastArrow eastArrowTarget = new ExtremityEastArrow(style);
eastArrowTarget.setXOffset(-eastArrowTarget.getSize().x);
style.setExtremity2(eastArrowTarget);
style.setForegroundColor(ColorProviderMapper.getColor(ColorInfo.COLOR_SELECTED_LOOKUP_LINKS));
return style;
}
Aggregations