|
JIVE Platform Release 0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJiveSearchPage
A page used by the Search dialog to define the user input fields of an
IJiveSearchQuery
and to create the query when the Search button is
selected.
Method Summary | |
---|---|
void |
createControl(Composite parent)
Creates the UI controls for the search page. |
IJiveSearchQuery |
createSearchQuery()
Returns a new IJiveSearchQuery to be used to perform the search. |
Control |
getControl()
Returns the page's top-level UI control which was created by createControl(Composite) . |
void |
initializeInput(ISelection selection)
Initializes the search page's input fields using the provided ISelection . |
boolean |
isInputValid()
Returns whether the search page's input is valid. |
void |
setContainer(ISearchPageContainer container)
Sets the supplied ISearchPageContainer as the container of the
page. |
Method Detail |
---|
void createControl(Composite parent)
Control
should have the supplied Composite
as its parent.
parent
- the parent of the page's top-level UI controlControl getControl()
createControl(Composite)
.
void setContainer(ISearchPageContainer container)
ISearchPageContainer
as the container of the
page. This allows the page to enable or disable the Search button based
on the input fields.
container
- the search container for the pagevoid initializeInput(ISelection selection)
ISelection
. This method is called whenever the search page is
displayed by the Search dialog.
selection
- the current workbench selectionboolean isInputValid()
true
if the input is valid,
false
otherwiseIJiveSearchQuery createSearchQuery()
IJiveSearchQuery
to be used to perform the search.
This method is called when the Search button is selected.
|
JIVE Platform Release 0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |