Class NotationUtil


  • public final class NotationUtil
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULT_EXTENSION
      The default extension for notation resources.
    • 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 - edge
        builder - 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 - shape
        builder - node builder
        Returns:
        the given builder