File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed
src/main/java/org/scijava Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 3232import org .scijava .Typed ;
3333
3434/**
35- * TODO
35+ * Interface for plugins that act as factories, creating objects on demand.
3636 *
3737 * @author Curtis Rueden
3838 * @param <D> Source data type.
Original file line number Diff line number Diff line change 3232import org .scijava .plugin .FactoryPlugin ;
3333
3434/**
35- * TODO
35+ * SciJava plugin type for doing something with a {@link SearchResult}.
36+ * <p>
37+ * For example, {@code RunModuleSearchActionFactory} creates a
38+ * {@link SearchAction} that executes the SciJava module described by a
39+ * {@code ModuleSearchResult}.
40+ * </p>
3641 *
3742 * @author Curtis Rueden
3843 */
Original file line number Diff line number Diff line change 3737 */
3838public interface SearchListener {
3939
40- /** TODO */
40+ /** Invoked when a search is completed. */
4141 void searchCompleted (SearchEvent event );
4242}
Original file line number Diff line number Diff line change @@ -69,10 +69,10 @@ default List<SearchAction> actions(final SearchResult result) {
6969 .map (factory -> factory .create (result )).collect (Collectors .toList ());
7070 }
7171
72- /** TODO javadoc */
72+ /** Gets whether the given searcher plugin is currently enabled. */
7373 boolean enabled (Searcher s );
7474
75- /** TODO javadoc */
75+ /** Enables or disables the given searcher plugin. */
7676 void setEnabled (Searcher s , boolean enabled );
7777
7878 @ Override
You can’t perform that action at this time.
0 commit comments