de.sciss.mellite.gui.EnsembleFrame.scala Maven / Gradle / Ivy
/*
* EnsembleFrame.scala
* (Mellite)
*
* Copyright (c) 2012-2016 Hanns Holger Rutz. All rights reserved.
*
* This software is published under the GNU General Public License v3+
*
*
* For further information, please contact Hanns Holger Rutz at
* [email protected]
*/
package de.sciss
package mellite
package gui
import de.sciss.synth.proc.Ensemble
import impl.document.{EnsembleFrameImpl => Impl}
import lucre.stm
import de.sciss.lucre.synth.Sys
object EnsembleFrame {
/** Creates a new frame for an ensemble view. */
def apply[S <: Sys[S]](ensemble: Ensemble[S])
(implicit tx: S#Tx, workspace: Workspace[S], cursor: stm.Cursor[S]): EnsembleFrame[S] =
Impl(ensemble)
}
trait EnsembleFrame[S <: Sys[S]] extends lucre.swing.Window[S] {
def ensembleView: EnsembleView[S]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy