Search in sources :

Example 1 with TrackView

use of de.mossgrabers.beatstep.view.TrackView in project DrivenByMoss by git-moss.

the class BeatstepControllerSetup method createViews.

/**
 * {@inheritDoc}
 */
@Override
protected void createViews() {
    final BeatstepControlSurface surface = this.getSurface();
    final ViewManager viewManager = surface.getViewManager();
    viewManager.registerView(Views.VIEW_TRACK, new TrackView(surface, this.model));
    viewManager.registerView(Views.VIEW_DEVICE, new DeviceView(surface, this.model));
    viewManager.registerView(Views.VIEW_PLAY, new PlayView(surface, this.model));
    viewManager.registerView(Views.VIEW_DRUM, new DrumView(surface, this.model));
    viewManager.registerView(Views.VIEW_SEQUENCER, new SequencerView(surface, this.model));
    viewManager.registerView(Views.VIEW_SESSION, new SessionView(surface, this.model));
    viewManager.registerView(Views.VIEW_BROWSER, new BrowserView(surface, this.model));
    viewManager.registerView(Views.VIEW_SHIFT, new ShiftView(surface, this.model));
}
Also used : SequencerView(de.mossgrabers.beatstep.view.SequencerView) TrackView(de.mossgrabers.beatstep.view.TrackView) ShiftView(de.mossgrabers.beatstep.view.ShiftView) ViewManager(de.mossgrabers.framework.view.ViewManager) SessionView(de.mossgrabers.beatstep.view.SessionView) DeviceView(de.mossgrabers.beatstep.view.DeviceView) BrowserView(de.mossgrabers.beatstep.view.BrowserView) BeatstepControlSurface(de.mossgrabers.beatstep.controller.BeatstepControlSurface) DrumView(de.mossgrabers.beatstep.view.DrumView) PlayView(de.mossgrabers.beatstep.view.PlayView)

Aggregations

BeatstepControlSurface (de.mossgrabers.beatstep.controller.BeatstepControlSurface)1 BrowserView (de.mossgrabers.beatstep.view.BrowserView)1 DeviceView (de.mossgrabers.beatstep.view.DeviceView)1 DrumView (de.mossgrabers.beatstep.view.DrumView)1 PlayView (de.mossgrabers.beatstep.view.PlayView)1 SequencerView (de.mossgrabers.beatstep.view.SequencerView)1 SessionView (de.mossgrabers.beatstep.view.SessionView)1 ShiftView (de.mossgrabers.beatstep.view.ShiftView)1 TrackView (de.mossgrabers.beatstep.view.TrackView)1 ViewManager (de.mossgrabers.framework.view.ViewManager)1