public void removeCycle() {
    myCycleModel.myCycle.myModelSet.removeCycle(myCycleModel.myCycle);
    listener.actionPerformed(null);
  }
The gui to edit a single cycle
ConstraintLayoutExamples/CycleEditor/src/com/google/androidstudio/motionlayoutcycles/CycleEdit.java