Class AddLabelCommand

    • Constructor Detail

      • AddLabelCommand

        public AddLabelCommand​(Item item,
                               String label)
        Instantiates a command to add a label.
        Parameters:
        item - the item on which to add a label.
        label - the label to add.
      • AddLabelCommand

        public AddLabelCommand​(Item item,
                               String label,
                               String comment)
        Instantiates a command to add a label and a comment.
        Parameters:
        item - the item on which to add a label.
        label - the label to add.
        comment - the comment describing the label.