Ignore:
Timestamp:
01/09/13 00:09:10 (11 years ago)
Author:
psniegowski
Message:

Add f0 parsing and f0->Model transformation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/main/src/main/java/com/framsticks/gui/TreeNode.java

    r77 r78  
    124124        LOGGER.debug("updating children of " + this);
    125125        AccessInterface access = p.getInstance().bindAccess(p.getTop());
     126                if (access == null) {
     127                        return;
     128                }
    126129        final List<Path> childrenPaths = new LinkedList<Path>();
    127130        /**Prepare path for each child.*/
     
    210213    }
    211214
    212 
    213215        public final Panel getPanel() {
    214216        assert frame.isActive();
     
    222224        }
    223225        AccessInterface access = p.getInstance().bindAccess(p);
    224         assert access != null;
     226                if (access == null) {
     227                        return;
     228                }
    225229        StringBuilder t = new StringBuilder();
    226230        /** html formatting is used here, since tooltips in swing do not support simple \n line breaks */
     
    494498
    495499                return true;
     500        }
     501
     502        public Path getInstancePath() {
     503                assert frame.isActive();
     504                return path;
    496505        }
    497506
Note: See TracChangeset for help on using the changeset viewer.