Change-Id: Iab9a0769235f3b05ed25100e3c821d283a6e0422
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57087
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
String nodeType = entry.getKey();
int direction = 1;
int drawIndex = fIndexes.get(nodeType).intValue();
String nodeType = entry.getKey();
int direction = 1;
int drawIndex = fIndexes.get(nodeType).intValue();
- /*
- * if (x==0) { drawIndex = 0; indexes.put(nodeType,new Integer(drawIndex)); }
- */
if ((entry.getValue() != null) && (entry.getValue().size() > 1)) {
if (entry.getValue().get(drawIndex).positiveDistanceToPoint(x, y)) {
direction = -1;
if ((entry.getValue() != null) && (entry.getValue().size() > 1)) {
if (entry.getValue().get(drawIndex).positiveDistanceToPoint(x, y)) {
direction = -1;
}
} else {
if (currentNode.getBackComparator() == null) {
}
} else {
if (currentNode.getBackComparator() == null) {
- if // (currentNode.isVisible(x,y,width,height)
- (!currentNode.positiveDistanceToPoint(x, y)) {
+ if (!currentNode.positiveDistanceToPoint(x, y)) {
entry.setValue(fForwardNodes.get(nodeType));
if ((fBackwardNodes.get(nodeType) != null) && (direction == -1)) {
entry.setValue(fForwardNodes.get(nodeType));
if ((fBackwardNodes.get(nodeType) != null) && (direction == -1)) {
- // nodes.put(nodeType,fnodes.get(nodeType));
int index = fIndexes.get(nodeType).intValue();
List<GraphNode> list = entry.getValue();
List<GraphNode> backList = fBackwardNodes.get(nodeType);
int index = fIndexes.get(nodeType).intValue();
List<GraphNode> list = entry.getValue();
List<GraphNode> backList = fBackwardNodes.get(nodeType);