equal
deleted
inserted
replaced
124 popup.add(filter_context(List(node), true, "Hide", true).peer) |
124 popup.add(filter_context(List(node), true, "Hide", true).peer) |
125 popup.add(filter_context(List(node), false, "Show only", false).peer) |
125 popup.add(filter_context(List(node), false, "Show only", false).peer) |
126 |
126 |
127 popup.add(new JPopupMenu.Separator) |
127 popup.add(new JPopupMenu.Separator) |
128 } |
128 } |
129 if (!selected_nodes.isEmpty) { |
129 if (selected_nodes.nonEmpty) { |
130 val text = |
130 val text = |
131 if (selected_nodes.length > 1) "multiple" |
131 if (selected_nodes.length > 1) "multiple" |
132 else quote(selected_nodes.head.toString) |
132 else quote(selected_nodes.head.toString) |
133 |
133 |
134 popup.add(new MenuItem("Selected: " + text) { enabled = false }.peer) |
134 popup.add(new MenuItem("Selected: " + text) { enabled = false }.peer) |