de.sciss.mellite.gui.AttrMapFrame.scala Maven / Gradle / Ivy
/*
* AttrMapFrame.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.mellite
package gui
import de.sciss.lucre.stm
import de.sciss.lucre.stm.Obj
import de.sciss.lucre.swing.Window
import de.sciss.lucre.synth.Sys
import de.sciss.mellite.gui.impl.document.{AttrMapFrameImpl => Impl}
object AttrMapFrame {
def apply[S <: Sys[S]](obj: Obj[S])(implicit tx: S#Tx, workspace: Workspace[S],
cursor: stm.Cursor[S]): AttrMapFrame[S] =
Impl(obj)
}
trait AttrMapFrame[S <: Sys[S]] extends Window[S] {
def contents: AttrMapView[S] // XXX TODO - should really be `view`
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy