use of de.mossgrabers.apcmini.view.DrumView in project DrivenByMoss by git-moss.
the class APCminiControllerSetup method createViews.
/**
* {@inheritDoc}
*/
@Override
protected void createViews() {
final APCminiControlSurface surface = this.getSurface();
final ViewManager viewManager = surface.getViewManager();
viewManager.registerView(Views.VIEW_PLAY, new PlayView(surface, this.model));
viewManager.registerView(Views.VIEW_SHIFT, new ShiftView(surface, this.model));
viewManager.registerView(Views.VIEW_BROWSER, new BrowserView(surface, this.model));
if (this.host.hasClips()) {
viewManager.registerView(Views.VIEW_SESSION, new SessionView(surface, this.model));
viewManager.registerView(Views.VIEW_SEQUENCER, new SequencerView(surface, this.model));
viewManager.registerView(Views.VIEW_DRUM, new DrumView(surface, this.model));
viewManager.registerView(Views.VIEW_RAINDROPS, new RaindropsView(surface, this.model));
}
}
Aggregations