/FileExtraction/Java_unseen/rubato-composer_rubato-composer/java/src/org/rubato/rubettes/bigbang/view/controller/mode/multitouch/MTNavigationModeAdapter.java
package org.rubato.rubettes.bigbang.view.controller.mode.multitouch;

import org.mt4j.input.inputProcessors.componentProcessors.panProcessor.PanProcessorTwoFingers;
import org.mt4j.input.inputProcessors.componentProcessors.zoomProcessor.ZoomProcessor;
import org.rubato.rubettes.bigbang.view.controller.ViewController;
import org.rubato.rubettes.bigbang.view.controller.display.multitouch.MTBigBangPanAction;
import org.rubato.rubettes.bigbang.view.controller.display.multitouch.MTBigBangZoomAction;
import org.rubato.rubettes.bigbang.view.controller.score.multitouch.MTObjectSelectionAdapter;
import org.rubato.rubettes.bigbang.view.subview.multitouch.BigBangScene;

public class MTNavigationModeAdapter extends MTDisplayModeAdapter {
	
	public MTNavigationModeAdapter(ViewController controller, BigBangScene scene) {
		super(controller);
		
		//add background zoom
		this.addProcessorAndListener(new ZoomProcessor(scene.getMTApplication()), new MTBigBangZoomAction(controller));
		
		//add background pan
		this.addProcessorAndListener(new PanProcessorTwoFingers(scene.getMTApplication()), new MTBigBangPanAction(controller));
		
		//add lasso
		//this.addProcessorAndListener(scene.getLassoProcessor(), new DefaultLassoAction(scene.getMTApplication(), scene.getCanvas().getClusterManager(), scene.getCanvas()));
		
		//add note selector for now...
		this.addProcessorAndListener(scene.getLassoProcessor(), new MTObjectSelectionAdapter(controller));
	}

}
