@Test public void testDisabledFileFilterChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getDisabledFileFilterChanged()); adapter.disabledFileFilterChanged(null, null); assertFalse(invoked[0]); adapter.setDisabledFileFilterChanged(callable); adapter.disabledFileFilterChanged(null, null); assertTrue(invoked[0]); }
public void disabledFileFilterChanged(org.apache.pivot.wtk.FileBrowser arg0, org.apache.pivot.util.Filter<File> arg1) { if (disabledFileFilterChanged != null) { disabledFileFilterChanged.call(arg0, arg1); } }
FileBrowserAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.FileBrowserListener { public void disabledFileFilterChanged(org.apache.pivot.wtk.FileBrowser arg0, org.apache.pivot.util.Filter<File> arg1) { if (disabledFileFilterChanged != null) { disabledFileFilterChanged.call(arg0, arg1); } } }
FileBrowserAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.FileBrowserListener { public void disabledFileFilterChanged(org.apache.pivot.wtk.FileBrowser arg0, org.apache.pivot.util.Filter<File> arg1) { if (disabledFileFilterChanged != null) { disabledFileFilterChanged.call(arg0, arg1); } }  }
FileBrowserAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.FileBrowserListener { public void disabledFileFilterChanged(org.apache.pivot.wtk.FileBrowser arg0, org.apache.pivot.util.Filter<File> arg1) { if (disabledFileFilterChanged != null) { disabledFileFilterChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getRootDirectoryChanged(); CallableWithArgs<Void> getSelectedFileAdded(); CallableWithArgs<Void> getSelectedFileRemoved(); CallableWithArgs<Void> getSelectedFilesChanged(); CallableWithArgs<Void> getMultiSelectChanged(); CallableWithArgs<Void> getDisabledFileFilterChanged(); void setRootDirectoryChanged(CallableWithArgs<Void> rootDirectoryChanged); void setSelectedFileAdded(CallableWithArgs<Void> selectedFileAdded); void setSelectedFileRemoved(CallableWithArgs<Void> selectedFileRemoved); void setSelectedFilesChanged(CallableWithArgs<Void> selectedFilesChanged); void setMultiSelectChanged(CallableWithArgs<Void> multiSelectChanged); void setDisabledFileFilterChanged(CallableWithArgs<Void> disabledFileFilterChanged); void rootDirectoryChanged(org.apache.pivot.wtk.FileBrowser arg0, java.io.File arg1); void selectedFileAdded(org.apache.pivot.wtk.FileBrowser arg0, java.io.File arg1); void selectedFileRemoved(org.apache.pivot.wtk.FileBrowser arg0, java.io.File arg1); void selectedFilesChanged(org.apache.pivot.wtk.FileBrowser arg0, org.apache.pivot.collections.Sequence<File> arg1); void multiSelectChanged(org.apache.pivot.wtk.FileBrowser arg0); void disabledFileFilterChanged(org.apache.pivot.wtk.FileBrowser arg0, org.apache.pivot.util.Filter<File> arg1); }
FileBrowserAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.FileBrowserListener { public void disabledFileFilterChanged(org.apache.pivot.wtk.FileBrowser arg0, org.apache.pivot.util.Filter<File> arg1) { if (disabledFileFilterChanged != null) { disabledFileFilterChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getRootDirectoryChanged(); CallableWithArgs<Void> getSelectedFileAdded(); CallableWithArgs<Void> getSelectedFileRemoved(); CallableWithArgs<Void> getSelectedFilesChanged(); CallableWithArgs<Void> getMultiSelectChanged(); CallableWithArgs<Void> getDisabledFileFilterChanged(); void setRootDirectoryChanged(CallableWithArgs<Void> rootDirectoryChanged); void setSelectedFileAdded(CallableWithArgs<Void> selectedFileAdded); void setSelectedFileRemoved(CallableWithArgs<Void> selectedFileRemoved); void setSelectedFilesChanged(CallableWithArgs<Void> selectedFilesChanged); void setMultiSelectChanged(CallableWithArgs<Void> multiSelectChanged); void setDisabledFileFilterChanged(CallableWithArgs<Void> disabledFileFilterChanged); void rootDirectoryChanged(org.apache.pivot.wtk.FileBrowser arg0, java.io.File arg1); void selectedFileAdded(org.apache.pivot.wtk.FileBrowser arg0, java.io.File arg1); void selectedFileRemoved(org.apache.pivot.wtk.FileBrowser arg0, java.io.File arg1); void selectedFilesChanged(org.apache.pivot.wtk.FileBrowser arg0, org.apache.pivot.collections.Sequence<File> arg1); void multiSelectChanged(org.apache.pivot.wtk.FileBrowser arg0); void disabledFileFilterChanged(org.apache.pivot.wtk.FileBrowser arg0, org.apache.pivot.util.Filter<File> arg1);  }