Package info.textgrid.lab.noteeditor.commands

Examples of info.textgrid.lab.noteeditor.commands.OrphanChildCommand


  public Command getOrphanChildrenCommand(GroupRequest request) {
    List parts = request.getEditParts();
    CompoundCommand result = new CompoundCommand(
        MusicMessages.MusicContainerEditPolicy_OrphanCommandLabelText);
    for (int i = 0; i < parts.size(); i++) {
      OrphanChildCommand orphan = new OrphanChildCommand();
      orphan.setChild((BasicElement) ((EditPart) parts.get(i)).getModel());
      orphan.setParent((MusicContainerForm) getHost().getModel());
      orphan.setLabel(MusicMessages.MusicElementEditPolicy_OrphanCommandLabelText);
      result.add(orphan);
    }
    return result.unwrap();
  }
View Full Code Here

TOP

Related Classes of info.textgrid.lab.noteeditor.commands.OrphanChildCommand

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.