Class CardinalPointsAnchor

    • Constructor Detail

      • CardinalPointsAnchor

        protected CardinalPointsAnchor​(org.eclipse.draw2d.IFigure owner,
                                       int directions,
                                       IPointProvider pointProvider)
    • Method Detail

      • getCurrentLocation

        protected org.eclipse.draw2d.geometry.Point getCurrentLocation()
      • isDefined

        public boolean isDefined()
      • calc

        protected void calc​(org.eclipse.draw2d.geometry.Point point,
                            boolean isUseAutodetectionPoint)
      • updateSelection

        protected void updateSelection​(CardinalPointsAnchor.Selection selection,
                                       org.eclipse.draw2d.geometry.Point point,
                                       boolean isUseAutodetectionPoint)
      • getAutodetectionPoint

        protected org.eclipse.draw2d.geometry.Point getAutodetectionPoint()
      • checkDirection

        protected boolean checkDirection​(int direction)
      • getTerminal

        public abstract String getTerminal()
      • getPossibleDirections

        public int getPossibleDirections()
      • setPossibleDirections

        public void setPossibleDirections​(int directions)
      • getPointProvider

        public IPointProvider getPointProvider()
        Returns:
        the pointProvider