Package info.textgrid.lab.noteeditor.commands

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


* @return A command to perform the Clone.
*/
@Override
@SuppressWarnings("rawtypes")
protected Command getCloneCommand(ChangeBoundsRequest request) {
  CloneCommand clone = new CloneCommand()
  clone.setParent((MusicContainerForm)getHost().getModel())
  Iterator i = request.getEditParts().iterator();
  GraphicalEditPart currPart = null
  while (i.hasNext()) {
    currPart = (GraphicalEditPart)i.next();
    clone.addPart((BasicElement)currPart.getModel(),
        (Rectangle)getConstraintFor(request, currPart));
  }
 
  return clone;
}
View Full Code Here

TOP

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

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.