|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface describing an implementation of the main user interface for the Search and Whatever core application.
Method Summary | |
void |
addActionUI(int index,
java.awt.Component c,
java.lang.String title)
Adds the action's ui to the user interface. |
void |
addFilterUI(int index,
java.awt.Component c,
java.lang.String title)
Adds the filter's ui to the user interface. |
void |
disableForSearch()
Tells the user interface to stop accepting user input for the duration of a search operation. |
void |
dispose()
Disposes of this ui component, only to be used when application is exiting. |
void |
enableAfterSearch()
Tells the user interface to start accepting user input at the completion of a search operation. |
java.io.File |
getOpenFromLocation()
Displays an open dialog and returns the selection. |
java.io.File |
getSaveToLocation()
Displays a save dialog and returns the selection. |
StartupUIIfc |
getStartupUI()
|
void |
removeActionUI(java.awt.Component c)
Removes the ui of the filter specified by the index from the user interface. |
void |
removeFilterUI(java.awt.Component c)
Removes the ui of the filter specified by the index from the user interface. |
void |
setActionsModel(PluginCollection c)
Used to set a reference to the actions model within the ui. |
void |
setActionSummary(java.lang.String summary)
Sets a summary of the actions' configuration in the ui. |
void |
setAppTitle(java.lang.String title)
Sets the application title to the specified value. |
void |
setController(AppControllerIfc controller)
Registers the application-level controller with the user interface to receive application-level events, such as exit requests, etc. |
void |
setFiltersModel(PluginCollection c)
Used to set a reference to the filters model within the ui. |
void |
setFilterSummary(java.lang.String summary)
Sets a summary of the filters' configuration in the ui. |
void |
setSearchRootUI(SearchRootUIIfc root)
Installs the "panel" responsible for handling selection of the root location for the search to be performed. |
void |
show()
Displays the ui. |
boolean |
showConfirmInterrupt()
Shows the user a confirmation prompt to determine if the currently executing search should be stopped. |
void |
showLoadError()
Display an error for the user indicating that the load process failed. |
void |
showNoCommonSupportError()
Displays the an error indicating that there is no single search pattern supported by both the search plug-in and the selected filter/action plug-ins. |
void |
showStatusMessage(java.lang.String message)
Displays feedback to the user, such as in the status bar of a window. |
void |
updateUI()
Updates the user interface to reflect any changes that may have occurred in the model. |
Method Detail |
public StartupUIIfc getStartupUI()
public void show()
public void dispose()
public void updateUI()
public void setAppTitle(java.lang.String title)
public void setController(AppControllerIfc controller)
public void showNoCommonSupportError()
public void showStatusMessage(java.lang.String message)
public void setSearchRootUI(SearchRootUIIfc root)
public java.io.File getSaveToLocation()
public java.io.File getOpenFromLocation()
public void showLoadError()
public boolean showConfirmInterrupt()
public void disableForSearch()
public void enableAfterSearch()
public void setActionsModel(PluginCollection c)
public void setFiltersModel(PluginCollection c)
public void setFilterSummary(java.lang.String summary)
public void setActionSummary(java.lang.String summary)
public void addFilterUI(int index, java.awt.Component c, java.lang.String title)
public void addActionUI(int index, java.awt.Component c, java.lang.String title)
public void removeFilterUI(java.awt.Component c)
public void removeActionUI(java.awt.Component c)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |