use of de.mossgrabers.push.view.PrgChangeView in project DrivenByMoss by git-moss.
the class PushControllerSetup method createViews.
/**
* {@inheritDoc}
*/
@Override
protected void createViews() {
final PushControlSurface surface = this.getSurface();
final ViewManager viewManager = surface.getViewManager();
viewManager.registerView(Views.VIEW_PLAY, new PlayView(surface, this.model));
viewManager.registerView(Views.VIEW_PIANO, new PianoView(surface, this.model));
viewManager.registerView(Views.VIEW_PRG_CHANGE, new PrgChangeView(surface, this.model));
viewManager.registerView(Views.VIEW_CLIP, new ClipView(surface, this.model));
viewManager.registerView(Views.VIEW_COLOR, new ColorView(surface, this.model));
if (this.host.hasClips()) {
viewManager.registerView(Views.VIEW_SESSION, new SessionView(surface, this.model));
viewManager.registerView(Views.VIEW_SEQUENCER, new SequencerView(surface, this.model));
viewManager.registerView(Views.VIEW_DRUM, new DrumView(surface, this.model));
viewManager.registerView(Views.VIEW_DRUM4, new DrumView4(surface, this.model));
viewManager.registerView(Views.VIEW_DRUM8, new DrumView8(surface, this.model));
viewManager.registerView(Views.VIEW_DRUM64, new DrumView64(surface, this.model));
viewManager.registerView(Views.VIEW_RAINDROPS, new RaindropsView(surface, this.model));
viewManager.registerView(Views.VIEW_SCENE_PLAY, new ScenePlayView(surface, this.model));
}
}
Aggregations