Changeset 78 for java/main/src/main/java/com/framsticks/gui/TreeNode.java
- Timestamp:
- 01/09/13 00:09:10 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/main/src/main/java/com/framsticks/gui/TreeNode.java
r77 r78 124 124 LOGGER.debug("updating children of " + this); 125 125 AccessInterface access = p.getInstance().bindAccess(p.getTop()); 126 if (access == null) { 127 return; 128 } 126 129 final List<Path> childrenPaths = new LinkedList<Path>(); 127 130 /**Prepare path for each child.*/ … … 210 213 } 211 214 212 213 215 public final Panel getPanel() { 214 216 assert frame.isActive(); … … 222 224 } 223 225 AccessInterface access = p.getInstance().bindAccess(p); 224 assert access != null; 226 if (access == null) { 227 return; 228 } 225 229 StringBuilder t = new StringBuilder(); 226 230 /** html formatting is used here, since tooltips in swing do not support simple \n line breaks */ … … 494 498 495 499 return true; 500 } 501 502 public Path getInstancePath() { 503 assert frame.isActive(); 504 return path; 496 505 } 497 506
Note: See TracChangeset
for help on using the changeset viewer.