Package com.softsynth.jmsl.util
Class PasteMusicShapeEditorOperator
java.lang.Object
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
- Author:
- Nick Didkovsky, nick@didkovsky.com
-
Constructor Summary
Constructors Constructor Description PasteMusicShapeEditorOperator(boolean inPlace)
-
Method Summary
Modifier and Type Method Description 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 Details
-
PasteMusicShapeEditorOperator
public PasteMusicShapeEditorOperator(boolean inPlace)
-
-
Method Details
-
operate
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 interfaceMusicShapeEditorOperator
-
getName
public java.lang.String getName() -
setName
public void setName(java.lang.String n)
-