Interface IAnchorable

    • Method Detail

      • setAnchorsVisible

        void setAnchorsVisible​(boolean isVisible,
                               int anchorType)
        Sets anchors visibility.
        Parameters:
        isVisible - - true if anchors should be visible.
        anchorType - - anchor type.
        See Also:
        AnchorFigure.TARGET, AnchorFigure.SOURCE
      • highlightClosestAnchor

        void highlightClosestAnchor​(org.eclipse.draw2d.geometry.Point location,
                                    int anchorType)
        Highlites the closest anchor to given location.
        Parameters:
        location - - location. Can't be null.
        anchorType - - anchor type.
        See Also:
        AnchorFigure.TARGET, AnchorFigure.SOURCE
      • getHighlitedAnchor

        AnchorFigure getHighlitedAnchor()
        Returns highlited anchor. If there is no highlited anchor, returns null.
        Returns:
        highlited anchor. If there is no highlited anchor, returns null. Can return null.