public interface EntryFetcher extends ImportInspectionDialog.CallBack
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHelpPage()
Get the name of the help page for this activeFetcher.
|
java.net.URL |
getIcon()
Get the appropriate icon URL for this activeFetcher.
|
java.lang.String |
getKeyName()
Get the name of the key binding for this activeFetcher, if any.
|
javax.swing.JPanel |
getOptionsPanel()
If this activeFetcher requires additional options, a panel for setting up these
should be returned in a JPanel by this method.
|
java.lang.String |
getTitle()
The title for this activeFetcher, displayed in the menu and in the side pane.
|
boolean |
processQuery(java.lang.String query,
ImportInspector inspector,
OutputPrinter status)
Handle a query entered by the user.
|
stopFetching
boolean processQuery(java.lang.String query, ImportInspector inspector, OutputPrinter status)
query
- The query text.inspector
- The dialog to add imported entries to.status
- An OutputPrinter passed to the activeFetcher for reporting about the
status of the fetching.java.lang.String getTitle()
java.lang.String getKeyName()
java.net.URL getIcon()
java.lang.String getHelpPage()
javax.swing.JPanel getOptionsPanel()