|
JIVE Platform Release 0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.buffalo.cse.jive.ui.search.AbstractJiveSearchPage edu.buffalo.cse.jive.ui.search.pages.MethodReturnedSearchPage
public class MethodReturnedSearchPage
An IJiveSearchPage
used to create a
MethodReturnedSearchQuery
. The page contains input fields for a
class, an optional instance number, a method name, and an optional return
value condition.
When an instance number is given, returns only on that particular instance of the class are included in the result. When it is left out, returns on any instance of the class are included in the result. Additionally, if a condition on the return value is given, then only returns meeting this condition will be included in the result.
MethodReturnedSearchQuery
Field Summary | |
---|---|
protected Text |
classText
A fully-qualified class name from which the method is returned. |
protected Composite |
control
The top-level control returned by getControl() . |
protected Text |
instanceText
An optional instance number specifying what instance of the class should be checked. |
protected Text |
methodText
A method name specifying what method on the class should be checked. |
protected Combo |
operatorCombo
A relational operator selector. |
protected Text |
returnValueText
A value to be used on the right side of the operator. |
Constructor Summary | |
---|---|
MethodReturnedSearchPage()
|
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 classText
protected Text instanceText
protected Text methodText
protected Combo operatorCombo
protected Text returnValueText
Constructor Detail |
---|
public MethodReturnedSearchPage()
Method Detail |
---|
public void createControl(Composite parent)
IJiveSearchPage
Control
should have the supplied Composite
as its parent.
parent
- the parent of the page's top-level UI controlpublic Control getControl()
IJiveSearchPage
IJiveSearchPage.createControl(Composite)
.
public IJiveSearchQuery createSearchQuery()
IJiveSearchPage
IJiveSearchQuery
to be used to perform the search.
This method is called when the Search button is selected.
public void initializeInput(ISelection selection)
IJiveSearchPage
ISelection
. 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.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |