Search in sources :

Example 1 with UserPadView

use of de.mossgrabers.controller.novation.launchkey.maxi.view.UserPadView in project DrivenByMoss by git-moss.

the class LaunchkeyMk3ControllerSetup method createViews.

/**
 * {@inheritDoc}
 */
@Override
protected void createViews() {
    final LaunchkeyMk3ControlSurface surface = this.getSurface();
    final ViewManager viewManager = surface.getViewManager();
    viewManager.register(Views.SESSION, new SessionView(surface, this.model));
    viewManager.register(Views.CONTROL, new PadModeSelectView(surface, this.model));
    viewManager.register(Views.DRUM, new DrumView(surface, this.model));
    viewManager.register(Views.PLAY, new UserPadView(surface, this.model));
    viewManager.register(Views.SHIFT, new DrumConfigView(surface, this.model));
    viewManager.register(Views.DEVICE, new DeviceConfigView(surface, this.model));
    viewManager.register(Views.BROWSER, new BrowserView(surface, this.model));
    viewManager.register(Views.DUMMY1, new DummyView<>("Scale Chords", surface, this.model));
    viewManager.register(Views.DUMMY2, new DummyView<>("User Chords", surface, this.model));
    viewManager.register(Views.DUMMY3, new DummyView<>(NAME_CUSTOM_1, surface, this.model));
    viewManager.register(Views.DUMMY4, new DummyView<>(NAME_CUSTOM_2, surface, this.model));
    viewManager.register(Views.DUMMY5, new DummyView<>(NAME_CUSTOM_3, surface, this.model));
    viewManager.register(Views.DUMMY6, new DummyView<>(NAME_CUSTOM_4, surface, this.model));
}
Also used : LaunchkeyMk3ControlSurface(de.mossgrabers.controller.novation.launchkey.maxi.controller.LaunchkeyMk3ControlSurface) PadModeSelectView(de.mossgrabers.controller.novation.launchkey.maxi.view.PadModeSelectView) DeviceConfigView(de.mossgrabers.controller.novation.launchkey.maxi.view.DeviceConfigView) ViewManager(de.mossgrabers.framework.featuregroup.ViewManager) SessionView(de.mossgrabers.controller.novation.launchkey.maxi.view.SessionView) UserPadView(de.mossgrabers.controller.novation.launchkey.maxi.view.UserPadView) DrumConfigView(de.mossgrabers.controller.novation.launchkey.maxi.view.DrumConfigView) BrowserView(de.mossgrabers.controller.novation.launchkey.maxi.view.BrowserView) DrumView(de.mossgrabers.controller.novation.launchkey.maxi.view.DrumView)

Aggregations

LaunchkeyMk3ControlSurface (de.mossgrabers.controller.novation.launchkey.maxi.controller.LaunchkeyMk3ControlSurface)1 BrowserView (de.mossgrabers.controller.novation.launchkey.maxi.view.BrowserView)1 DeviceConfigView (de.mossgrabers.controller.novation.launchkey.maxi.view.DeviceConfigView)1 DrumConfigView (de.mossgrabers.controller.novation.launchkey.maxi.view.DrumConfigView)1 DrumView (de.mossgrabers.controller.novation.launchkey.maxi.view.DrumView)1 PadModeSelectView (de.mossgrabers.controller.novation.launchkey.maxi.view.PadModeSelectView)1 SessionView (de.mossgrabers.controller.novation.launchkey.maxi.view.SessionView)1 UserPadView (de.mossgrabers.controller.novation.launchkey.maxi.view.UserPadView)1 ViewManager (de.mossgrabers.framework.featuregroup.ViewManager)1