Clean up unneeded imports
This commit is contained in:
parent
690e1b2670
commit
f1044d2b5a
@ -13,15 +13,12 @@ import scalaz._
|
|||||||
import Scalaz._
|
import Scalaz._
|
||||||
|
|
||||||
import shapeless._
|
import shapeless._
|
||||||
import shapeless.syntax._
|
|
||||||
import shapeless.ops.hlist._
|
import shapeless.ops.hlist._
|
||||||
import shapeless.ops.function._
|
import shapeless.ops.function._
|
||||||
|
|
||||||
import scalafx.beans.property.ObjectProperty
|
import scalafx.beans.property.ObjectProperty
|
||||||
import scalafx.beans.value.ObservableValue
|
import scalafx.beans.value.ObservableValue
|
||||||
|
|
||||||
import ObservableTupler._
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Sarah Gerweck <sarah@atscale.com>
|
* @author Sarah Gerweck <sarah@atscale.com>
|
||||||
|
@ -115,7 +115,6 @@ trait ObservableImplicits {
|
|||||||
|
|
||||||
class RichTuple[A <: Product](val self: A) extends AnyVal {
|
class RichTuple[A <: Product](val self: A) extends AnyVal {
|
||||||
import shapeless._
|
import shapeless._
|
||||||
import shapeless.syntax._
|
|
||||||
import shapeless.ops.hlist._
|
import shapeless.ops.hlist._
|
||||||
|
|
||||||
/* It's possible to do this operation without conversion directly using
|
/* It's possible to do this operation without conversion directly using
|
||||||
|
@ -10,10 +10,10 @@ import scalafx.scene.Node
|
|||||||
import scalafx.scene.control._
|
import scalafx.scene.control._
|
||||||
import scalafx.scene.input._
|
import scalafx.scene.input._
|
||||||
import scalafx.scene.layout.GridPane
|
import scalafx.scene.layout.GridPane
|
||||||
|
import scalafx.scene.text.Text
|
||||||
import scalafx.util.StringConverter
|
import scalafx.util.StringConverter
|
||||||
|
|
||||||
import scalaz._
|
import scalaz._
|
||||||
import Scalaz._
|
|
||||||
|
|
||||||
/** Various implicits and global utilities for ScalaFX work.
|
/** Various implicits and global utilities for ScalaFX work.
|
||||||
*
|
*
|
||||||
@ -24,8 +24,6 @@ package object util extends ObservableImplicits {
|
|||||||
type SimpleProperty[A] = Property[A, _]
|
type SimpleProperty[A] = Property[A, _]
|
||||||
|
|
||||||
object TextDisplay {
|
object TextDisplay {
|
||||||
import scalafx.beans.property._
|
|
||||||
import scalafx.scene.text.Text
|
|
||||||
def apply(text: ObservableValue[String,String]) = {
|
def apply(text: ObservableValue[String,String]) = {
|
||||||
val t = new scalafx.scene.text.Text
|
val t = new scalafx.scene.text.Text
|
||||||
t.text <== text
|
t.text <== text
|
||||||
|
Loading…
Reference in New Issue
Block a user