|
JIVE Platform Release 0.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.buffalo.cse.jive.ui.search.AbstractJiveSearchPage
edu.buffalo.cse.jive.ui.search.pages.LineExecutedSearchPage
public class LineExecutedSearchPage
An IJiveSearchPage used to create a
LineExecutedSearchQuery. The page contains input fields for a
relative filename path and a line number.
LineExecutedSearchQuery| Field Summary | |
|---|---|
protected Composite |
control
The top-level control returned by getControl(). |
protected Text |
lineNumberText
The line number of interest. |
protected Text |
sourcePathText
A relative path of the Java source file. |
| Constructor Summary | |
|---|---|
LineExecutedSearchPage()
|
|
| 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 IJiveSearchPage.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. |
| Methods inherited from class edu.buffalo.cse.jive.ui.search.AbstractJiveSearchPage |
|---|
getContainer, modifyText, setContainer, updatePerformAction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Composite control
getControl().
protected Text sourcePathText
protected Text lineNumberText
| Constructor Detail |
|---|
public LineExecutedSearchPage()
| Method Detail |
|---|
public void createControl(Composite parent)
IJiveSearchPageControl should have the supplied Composite as its parent.
parent - the parent of the page's top-level UI controlpublic Control getControl()
IJiveSearchPageIJiveSearchPage.createControl(Composite).
public IJiveSearchQuery createSearchQuery()
IJiveSearchPageIJiveSearchQuery to be used to perform the search.
This method is called when the Search button is selected.
public void initializeInput(ISelection selection)
IJiveSearchPageISelection. This method is called whenever the search page is
displayed by the Search dialog.
selection - the current workbench selectionpublic boolean isInputValid()
IJiveSearchPage
true if the input is valid,
false otherwise
|
JIVE Platform Release 0.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||