Package info.textgrid.lab.noteeditor.model

Examples of info.textgrid.lab.noteeditor.model.EndingForm


    return candidate.equals(EndingForm.class);
  }

  @Override
  public void run() {
    this.child = new EndingForm();
    super.run();
  }
View Full Code Here


        section.getUnclearsAndSbsAndApps().add(
            handleScoreChild(sectionChildForm, saveAllVariants));
      }
      return section;
    } else if (childForm instanceof EndingForm) {
      EndingForm endingForm = (EndingForm) childForm;
      Ending ending = (Ending) endingForm.getMeiNode();
      ending.getRegsAndSuppliedsAndCurves().clear();
      for (BasicElement endingChildForm : endingForm.getChildren()) {
        ending.getRegsAndSuppliedsAndCurves().add(
            handleScoreChild(endingChildForm, saveAllVariants));
      }
      return ending;
    } else if (childForm instanceof ScoreDefForm) {
View Full Code Here

  }
 
  private static BasicElement handleEnding(Ending ending,
      BasicElement parentForm) {
    EndingForm endingForm = new EndingForm();
    endingForm.setMeiNode(ending);
    endingForm.setParent(parentForm);
    for (MeiNode child : ending.getRegsAndSuppliedsAndCurves()) {
      BasicElement handleEndingContent = handleMeiElement(child,
          endingForm);
      if (handleEndingContent != null)
        endingForm.addChild(handleEndingContent);
    }
    return endingForm;

  }
View Full Code Here

              SectionForm.class,
              MusicPlugin.getDefault().getActiveDiagram()).size() - 1);
    }
    if (wrapper.isMeasuresCreateNewEnding()) {
      rootForm = MusicPlugin.getDefault().getActiveDiagram();
      MusicContainerForm endingForm = new EndingForm();
      insertCompoundCommand(rootForm, endingForm);
      rootForm = endingForm;
    } else {
      rootForm = (MusicContainerForm)MeiNodeNavigator
          .findActiveDescendantForm(
View Full Code Here

TOP

Related Classes of info.textgrid.lab.noteeditor.model.EndingForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.