super(bundle, prefix, editor);
fEditor= editor;
fUpwards= upwards;
fCopy= copy;
String[] commandIds= copy ? new String[] {ITextEditorActionDefinitionIds.COPY_LINES_UP, ITextEditorActionDefinitionIds.COPY_LINES_DOWN } : new String[] {ITextEditorActionDefinitionIds.MOVE_LINES_UP, ITextEditorActionDefinitionIds.MOVE_LINES_DOWN };
fStrategy= new CompoundEditExitStrategy(commandIds);
fStrategy.addCompoundListener(new ICompoundEditListener() {
public void endCompoundEdit() {
MoveLinesAction.this.endCompoundEdit();
}
});