Search in sources :

Example 1 with PianoView

use of de.mossgrabers.push.view.PianoView 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));
    }
}
Also used : RaindropsView(de.mossgrabers.push.view.RaindropsView) ViewManager(de.mossgrabers.framework.view.ViewManager) SessionView(de.mossgrabers.push.view.SessionView) ScenePlayView(de.mossgrabers.push.view.ScenePlayView) PrgChangeView(de.mossgrabers.push.view.PrgChangeView) ColorView(de.mossgrabers.push.view.ColorView) DrumView64(de.mossgrabers.push.view.DrumView64) DrumView(de.mossgrabers.push.view.DrumView) PlayView(de.mossgrabers.push.view.PlayView) ScenePlayView(de.mossgrabers.push.view.ScenePlayView) DrumView4(de.mossgrabers.push.view.DrumView4) SequencerView(de.mossgrabers.push.view.SequencerView) AbstractSequencerView(de.mossgrabers.framework.view.AbstractSequencerView) DrumView8(de.mossgrabers.push.view.DrumView8) PianoView(de.mossgrabers.push.view.PianoView) ClipView(de.mossgrabers.push.view.ClipView) PushControlSurface(de.mossgrabers.push.controller.PushControlSurface)

Aggregations

AbstractSequencerView (de.mossgrabers.framework.view.AbstractSequencerView)1 ViewManager (de.mossgrabers.framework.view.ViewManager)1 PushControlSurface (de.mossgrabers.push.controller.PushControlSurface)1 ClipView (de.mossgrabers.push.view.ClipView)1 ColorView (de.mossgrabers.push.view.ColorView)1 DrumView (de.mossgrabers.push.view.DrumView)1 DrumView4 (de.mossgrabers.push.view.DrumView4)1 DrumView64 (de.mossgrabers.push.view.DrumView64)1 DrumView8 (de.mossgrabers.push.view.DrumView8)1 PianoView (de.mossgrabers.push.view.PianoView)1 PlayView (de.mossgrabers.push.view.PlayView)1 PrgChangeView (de.mossgrabers.push.view.PrgChangeView)1 RaindropsView (de.mossgrabers.push.view.RaindropsView)1 ScenePlayView (de.mossgrabers.push.view.ScenePlayView)1 SequencerView (de.mossgrabers.push.view.SequencerView)1 SessionView (de.mossgrabers.push.view.SessionView)1