Search in sources :

Example 1 with ControlView

use of de.mossgrabers.mcu.view.ControlView in project DrivenByMoss by git-moss.

the class MCUControllerSetup method createViews.

/**
 * {@inheritDoc}
 */
@Override
protected void createViews() {
    for (int index = 0; index < this.numMCUDevices; index++) {
        final MCUControlSurface surface = this.getSurface(index);
        final ViewManager viewManager = surface.getViewManager();
        viewManager.registerView(Views.VIEW_CONTROL, new ControlView(surface, this.model));
    }
}
Also used : ViewManager(de.mossgrabers.framework.view.ViewManager) MCUControlSurface(de.mossgrabers.mcu.controller.MCUControlSurface) ControlView(de.mossgrabers.mcu.view.ControlView)

Aggregations

ViewManager (de.mossgrabers.framework.view.ViewManager)1 MCUControlSurface (de.mossgrabers.mcu.controller.MCUControlSurface)1 ControlView (de.mossgrabers.mcu.view.ControlView)1