Class DotDefaultNodeStyleUtil
java.lang.Object
org.eclipse.gef.dot.internal.ui.conversion.DotDefaultNodeStyleUtil
- All Implemented Interfaces:
DotNodeStyleUtil
- Direct Known Subclasses:
DotClusterStyleUtil
,DotRecordBasedNodeStyleUtil
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DotColorUtil
protected final org.eclipse.gef.graph.Node
-
Constructor Summary
ConstructorsConstructorDescriptionDotDefaultNodeStyleUtil
(DotColorUtil colorUtil, org.eclipse.gef.graph.Node dot) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addNodeStyle
(StringBuilder zestStyle, org.eclipse.gef.dot.internal.language.style.NodeStyle style, boolean penwidthUnset) protected org.eclipse.gef.dot.internal.language.color.Color
protected String
Computes Zest node shape styleprotected org.eclipse.gef.dot.internal.language.colorlist.ColorList
protected boolean
protected String
boolean
hasStyle
(org.eclipse.gef.dot.internal.language.style.NodeStyle nodeStyle) Checks if node has given styleprotected Double
protected org.eclipse.gef.dot.internal.language.shape.Shape
protected String
protected String
protected org.eclipse.gef.dot.internal.language.style.Style
-
Field Details
-
colorUtil
-
dot
protected final org.eclipse.gef.graph.Node dot
-
-
Constructor Details
-
DotDefaultNodeStyleUtil
-
-
Method Details
-
computeZestStyle
Description copied from interface:DotNodeStyleUtil
Computes Zest node shape style- Specified by:
computeZestStyle
in interfaceDotNodeStyleUtil
- Returns:
- StringBuilder containing node shape style
-
hasStyle
public boolean hasStyle(org.eclipse.gef.dot.internal.language.style.NodeStyle nodeStyle) Description copied from interface:DotNodeStyleUtil
Checks if node has given style- Specified by:
hasStyle
in interfaceDotNodeStyleUtil
- Returns:
- true, if node has nodeStyle
-
addNodeStyle
protected void addNodeStyle(StringBuilder zestStyle, org.eclipse.gef.dot.internal.language.style.NodeStyle style, boolean penwidthUnset) -
fillFxCssString
-
strokeWidthFxCssString
-
strokeColorFxCssString
-
shapeAttribute
protected org.eclipse.gef.dot.internal.language.shape.Shape shapeAttribute() -
colorschemeAttribute
-
colorAttribute
protected org.eclipse.gef.dot.internal.language.color.Color colorAttribute() -
penwidthAttribute
-
fillcolorAttribute
protected org.eclipse.gef.dot.internal.language.colorlist.ColorList fillcolorAttribute() -
fillCondition
protected boolean fillCondition() -
styleAttribute
protected org.eclipse.gef.dot.internal.language.style.Style styleAttribute()
-