- Timestamp:
- 07/14/13 23:20:04 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/main/src/main/java/com/framsticks/gui/tree/TreeModel.java
r100 r101 17 17 import com.framsticks.core.Node; 18 18 import com.framsticks.core.Path; 19 import com.framsticks.core.SideNoteKey; 19 20 import com.framsticks.core.TreeOperations; 20 21 import com.framsticks.gui.Frame; … … 24 25 import com.framsticks.params.ListAccess; 25 26 import com.framsticks.params.PrimitiveParam; 26 import com.framsticks.params. Util;27 import com.framsticks.params.ParamsUtil; 27 28 import com.framsticks.params.ValueParam; 28 29 import com.framsticks.params.types.EventParam; 29 30 import com.framsticks.util.FramsticksException; 30 31 import com.framsticks.util.Misc; 31 import com.framsticks.util. UnsupportedOperationException;32 import com.framsticks.util.FramsticksUnsupportedOperationException; 32 33 import com.framsticks.util.dispatching.FutureHandler; 33 34 import com.framsticks.util.lang.Casting; … … 91 92 @Override 92 93 public void valueForPathChanged(TreePath path, Object value) { 93 throw new UnsupportedOperationException().msg("changing value of tree node");94 throw new FramsticksUnsupportedOperationException().msg("changing value of tree node"); 94 95 } 95 96 … … 133 134 public TreeModelEvent prepareModelEventRegarding(Access access, String id, TreePath treeListPath) { 134 135 135 int number = Util.getNumberOfCompositeParamChild(access, access.get(id, Object.class));136 int number = ParamsUtil.getNumberOfCompositeParamChild(access, access.get(id, Object.class)); 136 137 if (number == -1) { 137 138 log.debug("encountered minor tree inconsistency in {}", treeListPath); … … 438 439 439 440 440 protected final Object createdTag = new Object();441 protected final SideNoteKey<Boolean> createdTag = SideNoteKey.make(Boolean.class); 441 442 442 443
Note: See TracChangeset
for help on using the changeset viewer.