equal
deleted
inserted
replaced
18 def apply(panel: Graph_Panel, under_mouse: Option[String], selected: List[String]): JPopupMenu = |
18 def apply(panel: Graph_Panel, under_mouse: Option[String], selected: List[String]): JPopupMenu = |
19 { |
19 { |
20 val visualizer = panel.visualizer |
20 val visualizer = panel.visualizer |
21 |
21 |
22 val add_mutator = visualizer.model.Mutators.add _ |
22 val add_mutator = visualizer.model.Mutators.add _ |
23 val curr = visualizer.model.current |
23 val curr = visualizer.model.current_graph |
24 |
24 |
25 def filter_context(ls: List[String], reverse: Boolean, caption: String, edges: Boolean) = |
25 def filter_context(ls: List[String], reverse: Boolean, caption: String, edges: Boolean) = |
26 new Menu(caption) { |
26 new Menu(caption) { |
27 contents += |
27 contents += |
28 new MenuItem(new Action("This") { |
28 new MenuItem(new Action("This") { |