Class DotDefaultNodeStyleUtil

java.lang.Object
org.eclipse.gef.dot.internal.ui.conversion.DotDefaultNodeStyleUtil
All Implemented Interfaces:
DotNodeStyleUtil
Direct Known Subclasses:
DotClusterStyleUtil, DotRecordBasedNodeStyleUtil

public class DotDefaultNodeStyleUtil extends Object implements DotNodeStyleUtil
  • Field Details

    • colorUtil

      protected final DotColorUtil colorUtil
    • dot

      protected final org.eclipse.gef.graph.Node dot
  • Constructor Details

    • DotDefaultNodeStyleUtil

      public DotDefaultNodeStyleUtil(DotColorUtil colorUtil, org.eclipse.gef.graph.Node dot)
  • Method Details

    • computeZestStyle

      public StringBuilder computeZestStyle()
      Description copied from interface: DotNodeStyleUtil
      Computes Zest node shape style
      Specified by:
      computeZestStyle in interface DotNodeStyleUtil
      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 interface DotNodeStyleUtil
      Returns:
      true, if node has nodeStyle
    • addNodeStyle

      protected void addNodeStyle(StringBuilder zestStyle, org.eclipse.gef.dot.internal.language.style.NodeStyle style, boolean penwidthUnset)
    • fillFxCssString

      protected String fillFxCssString()
    • strokeWidthFxCssString

      protected String strokeWidthFxCssString()
    • strokeColorFxCssString

      protected String strokeColorFxCssString()
    • shapeAttribute

      protected org.eclipse.gef.dot.internal.language.shape.Shape shapeAttribute()
    • colorschemeAttribute

      protected String colorschemeAttribute()
    • colorAttribute

      protected org.eclipse.gef.dot.internal.language.color.Color colorAttribute()
    • penwidthAttribute

      protected Double 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()