Search in sources :

Example 1 with SessionView

use of de.mossgrabers.controller.novation.slmkiii.view.SessionView in project DrivenByMoss by git-moss.

the class SLMkIIIControllerSetup method createViews.

/**
 * {@inheritDoc}
 */
@Override
protected void createViews() {
    final SLMkIIIControlSurface surface = this.getSurface();
    final ViewManager viewManager = surface.getViewManager();
    viewManager.register(Views.SESSION, new SessionView(surface, this.model));
    viewManager.register(Views.DRUM, new DrumView(surface, this.model));
    viewManager.register(Views.COLOR, new ColorView<>(surface, this.model));
}
Also used : ViewManager(de.mossgrabers.framework.featuregroup.ViewManager) SessionView(de.mossgrabers.controller.novation.slmkiii.view.SessionView) SLMkIIIControlSurface(de.mossgrabers.controller.novation.slmkiii.controller.SLMkIIIControlSurface) DrumView(de.mossgrabers.controller.novation.slmkiii.view.DrumView)

Aggregations

SLMkIIIControlSurface (de.mossgrabers.controller.novation.slmkiii.controller.SLMkIIIControlSurface)1 DrumView (de.mossgrabers.controller.novation.slmkiii.view.DrumView)1 SessionView (de.mossgrabers.controller.novation.slmkiii.view.SessionView)1 ViewManager (de.mossgrabers.framework.featuregroup.ViewManager)1