Class PasteMusicShapeEditorOperator

  extended by com.softsynth.jmsl.util.PasteMusicShapeEditorOperator
All Implemented Interfaces:
Namable, MusicShapeEditorOperator

public class PasteMusicShapeEditorOperator
extends java.lang.Object
implements MusicShapeEditorOperator

Paste to current MusicShapes location the contents of the 0th element in MusicShapeEditor's static copy buffer. Depending on constructor flag, either deletes current range selection before inserting or simply inserts

Nick Didkovsky,

Constructor Summary
PasteMusicShapeEditorOperator(boolean inPlace)
Method Summary
 java.lang.String getName()
 void operate(MusicShapeEditor se, MusicShape s)
          Paste from MusicShapeEditor's static copy buffer to current index of current MusicShape s.
 void setName(java.lang.String n)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public PasteMusicShapeEditorOperator(boolean inPlace)
Method Detail


public void operate(MusicShapeEditor se,
                    MusicShape s)
Paste from MusicShapeEditor's static copy buffer to current index of current MusicShape s. Uses DimensionNameSpaceTranslator to attempt maximum compatibility. Uses a DimensionNameSpaceTranslator to achieve maximum fit between source and destination MusicShape in case their dimension names spaces differ

Specified by:
operate in interface MusicShapeEditorOperator


public java.lang.String getName()
Specified by:
getName in interface Namable


public void setName(java.lang.String n)
Specified by:
setName in interface Namable