Class InsertAnchoredElementCommand

  • All Implemented Interfaces:
    Command

    public class InsertAnchoredElementCommand
    extends InsertElementCommand
    A transaction command for inserting elements. The transaction supports optionally setting a position, repeatedly.
    • Constructor Detail

      • InsertAnchoredElementCommand

        public InsertAnchoredElementCommand​(InstanceLine anchor,
                                            AnchoredElement element)
        Constructor
        Parameters:
        anchor - - The anchor value
        element - - The anchor element
    • Method Detail

      • setAnchor

        public void setAnchor​(InstanceLine anchor)
        Set anchor into the element
        Parameters:
        anchor - - The new anchor
      • showEditor

        public void showEditor​(JFrame frame)
        Show the editor
        Parameters:
        frame - - The jFrame