src/Tools/jEdit/src/find_dockable.scala
changeset 56866 c4512e94e15c
parent 56865 168766e28f5e
child 56872 1435f0c771dc
equal deleted inserted replaced
56865:168766e28f5e 56866:c4512e94e15c
   205 
   205 
   206     private def apply_query()
   206     private def apply_query()
   207     {
   207     {
   208       query_operation.apply_query(List(_selector.selection.item.name))
   208       query_operation.apply_query(List(_selector.selection.item.name))
   209     }
   209     }
       
   210 
       
   211     private val query_label = new Label("Print:")
   210 
   212 
   211     def query: JComponent = _selector.peer.asInstanceOf[JComponent]
   213     def query: JComponent = _selector.peer.asInstanceOf[JComponent]
   212 
   214 
   213 
   215 
   214     /* GUI page */
   216     /* GUI page */
   238 
   240 
   239     def select
   241     def select
   240     {
   242     {
   241       update_selector()
   243       update_selector()
   242       control_panel.contents.clear
   244       control_panel.contents.clear
   243       control_panel.contents ++= List(_selector, apply_button, zoom)
   245       control_panel.contents ++= List(query_label, _selector, apply_button, zoom)
   244     }
   246     }
   245 
   247 
   246     val page =
   248     val page =
   247       new TabbedPane.Page("Print ...", new BorderPanel {
   249       new TabbedPane.Page("Print ...", new BorderPanel {
   248         add(control_panel, BorderPanel.Position.North)
   250         add(control_panel, BorderPanel.Position.North)