Class Dot2ZestAttributesConverter
- java.lang.Object
-
- org.eclipse.gef.dot.internal.ui.conversion.Dot2ZestAttributesConverter
-
- All Implemented Interfaces:
org.eclipse.gef.common.attributes.IAttributeCopier
public class Dot2ZestAttributesConverter extends java.lang.Object implements org.eclipse.gef.common.attributes.IAttributeCopierA converter that transforms aGraphthat is attributed withDotAttributesinto aGraphthat is attributed withZestProperties.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDot2ZestAttributesConverter.Options
-
Field Summary
Fields Modifier and Type Field Description DotFontUtilfontUtil
-
Constructor Summary
Constructors Constructor Description Dot2ZestAttributesConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconvertAttributes(org.eclipse.gef.graph.Edge dot, org.eclipse.gef.graph.Edge zest)protected voidconvertAttributes(org.eclipse.gef.graph.Graph dot, org.eclipse.gef.graph.Graph zest)protected voidconvertAttributes(org.eclipse.gef.graph.Node dot, org.eclipse.gef.graph.Node zest)voidcopy(org.eclipse.gef.common.attributes.IAttributeStore source, org.eclipse.gef.common.attributes.IAttributeStore target)javafx.geometry.BoundsgetBounds(javafx.scene.Node fxNode)Bounds for the JavaFxElement after CSSDot2ZestAttributesConverter.Optionsoptions()
-
-
-
Field Detail
-
fontUtil
public final DotFontUtil fontUtil
-
-
Method Detail
-
copy
public void copy(org.eclipse.gef.common.attributes.IAttributeStore source, org.eclipse.gef.common.attributes.IAttributeStore target)- Specified by:
copyin interfaceorg.eclipse.gef.common.attributes.IAttributeCopier
-
convertAttributes
protected void convertAttributes(org.eclipse.gef.graph.Edge dot, org.eclipse.gef.graph.Edge zest)
-
convertAttributes
protected void convertAttributes(org.eclipse.gef.graph.Node dot, org.eclipse.gef.graph.Node zest)
-
convertAttributes
protected void convertAttributes(org.eclipse.gef.graph.Graph dot, org.eclipse.gef.graph.Graph zest)
-
options
public Dot2ZestAttributesConverter.Options options()
-
getBounds
public javafx.geometry.Bounds getBounds(javafx.scene.Node fxNode)
Bounds for the JavaFxElement after CSS- Parameters:
fxNode- the fxnode of which the bounds should be calculated- Returns:
- the bounds of the node
-
-