Search in sources :

Example 1 with ControlView

use of de.mossgrabers.controller.novation.sl.view.ControlView in project DrivenByMoss by git-moss.

the class SLControllerSetup method createViews.

/**
 * {@inheritDoc}
 */
@Override
protected void createViews() {
    final SLControlSurface surface = this.getSurface();
    final ViewManager viewManager = surface.getViewManager();
    viewManager.register(Views.PLAY, new PlayView(surface, this.model));
    viewManager.register(Views.CONTROL, new ControlView(surface, this.model));
}
Also used : ViewManager(de.mossgrabers.framework.featuregroup.ViewManager) SLControlSurface(de.mossgrabers.controller.novation.sl.controller.SLControlSurface) PlayView(de.mossgrabers.controller.novation.sl.view.PlayView) ControlView(de.mossgrabers.controller.novation.sl.view.ControlView)

Aggregations

SLControlSurface (de.mossgrabers.controller.novation.sl.controller.SLControlSurface)1 ControlView (de.mossgrabers.controller.novation.sl.view.ControlView)1 PlayView (de.mossgrabers.controller.novation.sl.view.PlayView)1 ViewManager (de.mossgrabers.framework.featuregroup.ViewManager)1