Search in sources :

Example 1 with SessionView

use of de.mossgrabers.apc.view.SessionView in project DrivenByMoss by git-moss.

the class APCControllerSetup method createViews.

/**
 * {@inheritDoc}
 */
@Override
protected void createViews() {
    final APCControlSurface surface = this.getSurface();
    final ViewManager viewManager = surface.getViewManager();
    viewManager.registerView(Views.VIEW_PLAY, new PlayView(surface, this.model));
    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_RAINDROPS, new RaindropsView(surface, this.model));
    viewManager.registerView(Views.VIEW_SHIFT, new ShiftView(surface, this.model));
}
Also used : SequencerView(de.mossgrabers.apc.view.SequencerView) RaindropsView(de.mossgrabers.apc.view.RaindropsView) APCControlSurface(de.mossgrabers.apc.controller.APCControlSurface) ShiftView(de.mossgrabers.apc.view.ShiftView) ViewManager(de.mossgrabers.framework.view.ViewManager) SessionView(de.mossgrabers.apc.view.SessionView) DrumView(de.mossgrabers.apc.view.DrumView) PlayView(de.mossgrabers.apc.view.PlayView)

Aggregations

APCControlSurface (de.mossgrabers.apc.controller.APCControlSurface)1 DrumView (de.mossgrabers.apc.view.DrumView)1 PlayView (de.mossgrabers.apc.view.PlayView)1 RaindropsView (de.mossgrabers.apc.view.RaindropsView)1 SequencerView (de.mossgrabers.apc.view.SequencerView)1 SessionView (de.mossgrabers.apc.view.SessionView)1 ShiftView (de.mossgrabers.apc.view.ShiftView)1 ViewManager (de.mossgrabers.framework.view.ViewManager)1