use of de.mossgrabers.controller.ni.maschine.mk3.view.MuteView in project DrivenByMoss by git-moss.
the class MaschineControllerSetup method createViews.
/**
* {@inheritDoc}
*/
@Override
protected void createViews() {
final MaschineControlSurface surface = this.getSurface();
final ViewManager viewManager = surface.getViewManager();
viewManager.register(Views.SCENE_PLAY, new SceneView(surface, this.model));
viewManager.register(Views.CLIP, new ClipView(surface, this.model));
final DrumView drumView = new DrumView(surface, this.model);
viewManager.register(Views.DRUM, drumView);
viewManager.register(Views.PLAY, new PlayView(surface, this.model, drumView));
viewManager.register(Views.DEVICE, new ParameterView(surface, this.model));
if (!this.maschine.hasGroupButtons()) {
viewManager.register(Views.TRACK_SELECT, new SelectView(surface, this.model));
viewManager.register(Views.TRACK_SOLO, new SoloView(surface, this.model));
viewManager.register(Views.TRACK_MUTE, new MuteView(surface, this.model));
}
viewManager.register(Views.REPEAT_NOTE, new NoteRepeatView(surface, this.model));
this.shiftView = new ShiftView(surface, this.model);
viewManager.register(Views.SHIFT, this.shiftView);
}
Aggregations