Search in sources :

Example 1 with SessionView

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

the class APCminiControllerSetup method createViews.

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

Aggregations

APCminiControlSurface (de.mossgrabers.apcmini.controller.APCminiControlSurface)1 BrowserView (de.mossgrabers.apcmini.view.BrowserView)1 DrumView (de.mossgrabers.apcmini.view.DrumView)1 PlayView (de.mossgrabers.apcmini.view.PlayView)1 RaindropsView (de.mossgrabers.apcmini.view.RaindropsView)1 SequencerView (de.mossgrabers.apcmini.view.SequencerView)1 SessionView (de.mossgrabers.apcmini.view.SessionView)1 ShiftView (de.mossgrabers.apcmini.view.ShiftView)1 ViewManager (de.mossgrabers.framework.view.ViewManager)1