Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
Protos
Nomad 3D
nomad-3d-editor
Commits
18f6fbad
Commit
18f6fbad
authored
Feb 08, 2019
by
legoc
Browse files
Removed comment
parent
5e502bee
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/fr/ill/ics/n3d/gui/HierarchyCell.java
View file @
18f6fbad
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment