@Test public void testSelectedPathRemoved() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getSelectedPathRemoved()); adapter.selectedPathRemoved(null, null); assertFalse(invoked[0]); adapter.setSelectedPathRemoved(callable); adapter.selectedPathRemoved(null, null); assertTrue(invoked[0]); }
public void selectedPathRemoved(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1) { if (selectedPathRemoved != null) { selectedPathRemoved.call(arg0, arg1); } }
TreeViewSelectionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TreeViewSelectionListener { public void selectedPathRemoved(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1) { if (selectedPathRemoved != null) { selectedPathRemoved.call(arg0, arg1); } } }
TreeViewSelectionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TreeViewSelectionListener { public void selectedPathRemoved(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1) { if (selectedPathRemoved != null) { selectedPathRemoved.call(arg0, arg1); } }  }
TreeViewSelectionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TreeViewSelectionListener { public void selectedPathRemoved(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1) { if (selectedPathRemoved != null) { selectedPathRemoved.call(arg0, arg1); } }  CallableWithArgs<Void> getSelectedPathsChanged(); CallableWithArgs<Void> getSelectedNodeChanged(); CallableWithArgs<Void> getSelectedPathAdded(); CallableWithArgs<Void> getSelectedPathRemoved(); void setSelectedPathsChanged(CallableWithArgs<Void> selectedPathsChanged); void setSelectedNodeChanged(CallableWithArgs<Void> selectedNodeChanged); void setSelectedPathAdded(CallableWithArgs<Void> selectedPathAdded); void setSelectedPathRemoved(CallableWithArgs<Void> selectedPathRemoved); void selectedPathsChanged(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence<Sequence.Tree.Path> arg1); void selectedNodeChanged(org.apache.pivot.wtk.TreeView arg0, java.lang.Object arg1); void selectedPathAdded(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1); void selectedPathRemoved(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1); }
TreeViewSelectionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TreeViewSelectionListener { public void selectedPathRemoved(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1) { if (selectedPathRemoved != null) { selectedPathRemoved.call(arg0, arg1); } }  CallableWithArgs<Void> getSelectedPathsChanged(); CallableWithArgs<Void> getSelectedNodeChanged(); CallableWithArgs<Void> getSelectedPathAdded(); CallableWithArgs<Void> getSelectedPathRemoved(); void setSelectedPathsChanged(CallableWithArgs<Void> selectedPathsChanged); void setSelectedNodeChanged(CallableWithArgs<Void> selectedNodeChanged); void setSelectedPathAdded(CallableWithArgs<Void> selectedPathAdded); void setSelectedPathRemoved(CallableWithArgs<Void> selectedPathRemoved); void selectedPathsChanged(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence<Sequence.Tree.Path> arg1); void selectedNodeChanged(org.apache.pivot.wtk.TreeView arg0, java.lang.Object arg1); void selectedPathAdded(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1); void selectedPathRemoved(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1);  }