-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scala.swing.ComboBox should have a method for changing the items #129
Comments
Imported From: https://issues.scala-lang.org/browse/SI-2154?orig=1 |
mathieu leclaire (mamat) said (edited on Nov 21, 2011 3:32:31 PM UTC): |
mathieu leclaire (mamat) said: gives the following error: |
mathieu leclaire (mamat) said: |
mathieu leclaire (mamat) said: |
mathieu leclaire (mamat) said (edited on Mar 15, 2012 3:59:25 PM UTC): package scala.swing */ import event._ object MyComboBox {
/**
} implicit def stringEditor(c: MyComboBox[String]): Editor[String] = new BuiltInEditor(c)(s => s, s => s) def newConstantModel[A](items: Seq[A]): ComboBoxModel[A] = { /*def newMutableModel[A, Self](items: Seq[A] with scala.collection.mutable.Publisher[scala.collection.mutable.Message[A], Self]): ComboBoxModel = { def newConstantModel[A](items: Seq[A]): ComboBoxModel = items match { /**
object selection extends Publisher {
} /**
/* XXX: currently not safe to expose: /**
def prototypeDisplayValue: Option[A] = OptionA |
I should check in https://github.com/Sciss/SwingPlus/blob/main/src/main/scala/de/sciss/swingplus/ComboBox.scala - since minimum Java version supported is now 8, this would no longer need work around for generics. |
Frequently, the items in the combobox are dynamic and not known at the time of the ComboBox's instantiation.
The text was updated successfully, but these errors were encountered: