Class AlignmentRequest

    • Constructor Detail

      • AlignmentRequest

        public AlignmentRequest()
        Default constructor.
      • AlignmentRequest

        public AlignmentRequest​(java.lang.Object type)
        Constructs a new AlignmentRequest with the new type.
        Parameters:
        type - the type
    • Method Detail

      • getAlignment

        public int getAlignment()
        Returns the alignment. Possible values are PositionConstants.LEFT , PositionConstants.RIGHT, PositionConstants.TOP and PositionConstants.BOTTOM.
        Returns:
        the alignment
      • getAlignmentRectangle

        public org.eclipse.draw2d.geometry.Rectangle getAlignmentRectangle()
        Returns the rectangle used to align the edit part with.
        Returns:
        the alignment rectangle
      • setAlignment

        public void setAlignment​(int align)
        Sets the alignment.
        Parameters:
        align - the alignment
        See Also:
        getAlignment()
      • setAlignmentRectangle

        public void setAlignmentRectangle​(org.eclipse.draw2d.geometry.Rectangle rect)
        Sets the alignment rectangle.
        Parameters:
        rect - the alignment rectangle
        See Also:
        getAlignmentRectangle()