Class InsertQueryCommand

java.lang.Object
com.uppaal.model.core2.AbstractCommand
com.uppaal.model.core2.InsertQueryCommand
All Implemented Interfaces:
Command

public class InsertQueryCommand
extends AbstractCommand
The insert query command class
  • Field Details

  • Constructor Details

    • InsertQueryCommand

      public InsertQueryCommand​(QueryList queryList, int index)
      Constructor
      Parameters:
      queryList - - The queries list
      index - - The insert index
  • Method Details

    • execute

      public void execute()
    • undo

      public void undo()
    • getModifiedElement

      public Element getModifiedElement()
      Returns:
      the modified element or its closest relative (sibling or parent) if the element is not displayed.