commit | 72297219c8432b40670809906b3c320b2568ff34 | [log] [tgz] |
---|---|---|
author | Simon Hunt <simon@onlab.us> | Tue Aug 25 10:15:33 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Aug 25 19:38:38 2015 +0000 |
tree | e2b2e21b6563b28fd03609565d730243a06c52f1 | |
parent | 8770a9331ef20e936e0ed8e1a385d41b5cb289b3 [diff] [blame] |
ONOS-2186 - GUI Topo Overlay - (WIP) - added devicesWithHover(), hostsWithHover(), hovered() to NodeSelection. - wrote unit tests for NodeSelection. Change-Id: I6dca0f4f0a4ce2412438c8411102034969ef4343
diff --git a/web/gui/src/main/java/org/onosproject/ui/impl/topo/IntentSelection.java b/web/gui/src/main/java/org/onosproject/ui/impl/topo/IntentSelection.java index 01ae93d..151e613 100644 --- a/web/gui/src/main/java/org/onosproject/ui/impl/topo/IntentSelection.java +++ b/web/gui/src/main/java/org/onosproject/ui/impl/topo/IntentSelection.java
@@ -50,7 +50,7 @@ */ public IntentSelection(NodeSelection nodes, TopoIntentFilter filter) { this.nodes = nodes; - intents = filter.findPathIntents(nodes.hosts(), nodes.devices()); + intents = filter.findPathIntents(nodes.hostsWithHover(), nodes.devicesWithHover()); if (intents.size() == 1) { index = 0; // pre-select a single intent }