@Test public void testNodesSorted() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getNodesSorted()); adapter.nodesSorted(null, null); assertFalse(invoked[0]); adapter.setNodesSorted(callable); adapter.nodesSorted(null, null); assertTrue(invoked[0]); }
public void nodesSorted(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1) { if (nodesSorted != null) { nodesSorted.call(arg0, arg1); } }
TreeViewNodeAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TreeViewNodeListener { public void nodesSorted(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1) { if (nodesSorted != null) { nodesSorted.call(arg0, arg1); } } }
TreeViewNodeAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TreeViewNodeListener { public void nodesSorted(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1) { if (nodesSorted != null) { nodesSorted.call(arg0, arg1); } }  }
TreeViewNodeAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TreeViewNodeListener { public void nodesSorted(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1) { if (nodesSorted != null) { nodesSorted.call(arg0, arg1); } }  CallableWithArgs<Void> getNodeInserted(); CallableWithArgs<Void> getNodesRemoved(); CallableWithArgs<Void> getNodeUpdated(); CallableWithArgs<Void> getNodesSorted(); CallableWithArgs<Void> getNodesCleared(); void setNodeInserted(CallableWithArgs<Void> nodeInserted); void setNodesRemoved(CallableWithArgs<Void> nodesRemoved); void setNodeUpdated(CallableWithArgs<Void> nodeUpdated); void setNodesSorted(CallableWithArgs<Void> nodesSorted); void setNodesCleared(CallableWithArgs<Void> nodesCleared); void nodeInserted(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1, int arg2); void nodesRemoved(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1, int arg2, int arg3); void nodeUpdated(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1, int arg2); void nodesSorted(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1); void nodesCleared(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1); }
TreeViewNodeAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TreeViewNodeListener { public void nodesSorted(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1) { if (nodesSorted != null) { nodesSorted.call(arg0, arg1); } }  CallableWithArgs<Void> getNodeInserted(); CallableWithArgs<Void> getNodesRemoved(); CallableWithArgs<Void> getNodeUpdated(); CallableWithArgs<Void> getNodesSorted(); CallableWithArgs<Void> getNodesCleared(); void setNodeInserted(CallableWithArgs<Void> nodeInserted); void setNodesRemoved(CallableWithArgs<Void> nodesRemoved); void setNodeUpdated(CallableWithArgs<Void> nodeUpdated); void setNodesSorted(CallableWithArgs<Void> nodesSorted); void setNodesCleared(CallableWithArgs<Void> nodesCleared); void nodeInserted(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1, int arg2); void nodesRemoved(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1, int arg2, int arg3); void nodeUpdated(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1, int arg2); void nodesSorted(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1); void nodesCleared(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1);  }