Commit 18f6fbad authored by legoc's avatar legoc
Browse files

Removed comment

parent 5e502bee
......@@ -39,41 +39,6 @@ public class HierarchyCell extends CheckBoxTreeCell<Component> {
System.out.print(getItem().infoString());
}
});
// MenuItem printMateGroupItem = new MenuItem("Print mate group");
// rigthClickMenu.getItems().add(printMateGroupItem);
// printMateGroupItem.setOnAction(new EventHandler<ActionEvent>() {
// public void handle(ActionEvent t) {
// for (Mate mate : getItem().getMateGroup()) {
// System.out.println(mate);
// }
// System.out.println(getItem().getMateGroup().size() + " mates in mate group");
// }
// });
// MenuItem printMatesItem = new MenuItem("Print mates in parent");
// rigthClickMenu.getItems().add(printMatesItem);
// printMatesItem.setOnAction(new EventHandler<ActionEvent>() {
// public void handle(ActionEvent t) {
// System.out.println();
// Component parent = getItem().getParent();
// if (parent != null) {
// if (parent.getFileName().equals("NOMAD_3D_INSERTED")) {
// parent = parent.getParent();
// }
// HashSet<Mate> mates = parent.matesBetween(getItem(), parent);
// for (Component child : parent.getChildren()) {
// mates.addAll(parent.matesBetween(getItem(), child));
// }
// for (Mate mate : mates) {
// System.out.println(mate);
// }
// System.out.println(mates.size() + " mates for " + getItem().getName() + " in " + parent.getName());
// } else {
// System.out.println("No parent");
// }
// }
// });
}
@Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment