Class NotationUtil
- java.lang.Object
-
- org.eclipse.glsp.server.emf.notation.util.NotationUtil
-
public final class NotationUtil extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_EXTENSIONThe default extension for notation resources.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GEdgeBuilderapplyEdgeData(Edge edge, GEdgeBuilder builder)Applies all layout related data from the Edge notation to the given builder.static GNodeBuilderapplyShapeData(Shape shape, GNodeBuilder builder)Applies all layout related data from the Edge notation to the given builder.static booleanisUnresolved(NotationElement notationElement)True if the given element is unresolved but may be resolved.
-
-
-
Field Detail
-
DEFAULT_EXTENSION
public static final java.lang.String DEFAULT_EXTENSION
The default extension for notation resources.- See Also:
- Constant Field Values
-
-
Method Detail
-
isUnresolved
public static boolean isUnresolved(NotationElement notationElement)
True if the given element is unresolved but may be resolved.- Parameters:
notationElement-- Returns:
- true if the given element is unresolved but may be resolved.
-
applyEdgeData
public static GEdgeBuilder applyEdgeData(Edge edge, GEdgeBuilder builder)
Applies all layout related data from the Edge notation to the given builder.- Parameters:
edge- edgebuilder- edge builder- Returns:
- the given builder
-
applyShapeData
public static GNodeBuilder applyShapeData(Shape shape, GNodeBuilder builder)
Applies all layout related data from the Edge notation to the given builder.- Parameters:
shape- shapebuilder- node builder- Returns:
- the given builder
-
-