public abstract class AbstractSearchFactory extends java.lang.Object implements SearchFactory
Constructor and Description |
---|
AbstractSearchFactory() |
Modifier and Type | Method and Description |
---|---|
Search |
createExampleSearch() |
de.ims.icarus.ui.helper.Editor<de.ims.icarus.util.Options> |
createParameterEditor() |
SearchQuery |
createQuery()
Creates an empty query usable for setting up a search.
|
java.lang.Class<? extends QueryEditor> |
getDefaultEditorClass()
Returns the class of the
QueryEditor to be used when editing
queries for this factory. |
java.lang.String |
getQueryLabel(SearchQuery query)
Generates a context specific label for the given
SearchQuery . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createSearch, createSearch, getContentType, getSerializedForm, getSerializedTarget
public Search createExampleSearch() throws java.lang.Exception
createExampleSearch
in interface SearchFactory
java.lang.Exception
public de.ims.icarus.ui.helper.Editor<de.ims.icarus.util.Options> createParameterEditor()
createParameterEditor
in interface SearchFactory
public java.lang.Class<? extends QueryEditor> getDefaultEditorClass()
SearchFactory
QueryEditor
to be used when editing
queries for this factory. If a null
value is returned the
framework assumes the DefaultQueryEditor
implementation to be
sufficient.getDefaultEditorClass
in interface SearchFactory
public java.lang.String getQueryLabel(SearchQuery query)
SearchFactory
SearchQuery
.
A return value of null
indicates that the framework should
generate a default label.getQueryLabel
in interface SearchFactory
public SearchQuery createQuery()
SearchFactory
createQuery
in interface SearchFactory
SearchFactory.createQuery()