Convert RadialPopupMenu into Scala