- rightComponent = new TaskEditor {
- border = BorderFactory.createEmptyBorder(5, 5, 5, 5)
+ contents += VStrut(5)
+ contents += new TaskEditor {
+ listenTo(frame)
+ reactions += {
+ case TaskSelected(t) => task = t
+ case TaskDeselected() => task = Task()
+ }
+ }
+ contents += VStrut(5)
+ contents += new FlowPanel(FlowPanel.Alignment.Left)() {
+ contents += new Button(new Action("New") {
+ def apply = {} // FIXME
+ })
+ contents += new Button(new Action("Delete...") {
+ def apply = {} // FIXME
+ })