|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEditExpectationPartActions
Interface for the EditExpectationPartActions class.
| Method Summary | |
|---|---|
void |
addParameter(org.mockcentral.server.SignaturePartBean createNewModel)
Shows a dialog for adding a parameter to the Mock Object method signature. |
void |
createParametersTableActions()
Creates the actions for the parameters table. |
void |
createResultTableActions()
Creates the actions for the expected result table. |
void |
editExpectationData()
Shows a dialog for editing the Mock Object method name and MockMethodType. |
void |
editParameter(org.mockcentral.server.SignaturePartBean partModel,
int index)
Shows a dialog for editing a Mock Object method parameter. |
void |
editResult()
Shows a dialog for adding or editing the Mock Object method result |
void |
init(org.mockcentral.editor.nodes.expectation.ExpectationModel nodeModel,
IEditExpectationPartManager manager)
Sets the ExpectationModel. |
void |
setAnyParameters()
Sets the "anyParams" flag. |
void |
setParametersTableAdapter(TableViewerAdapter parametersTableAdapter)
Assigns the TableViewerAdapter for the parameters table. |
void |
setResultAdapter(TableViewerAdapter resultTableAdapter)
Assigns the TableViewerAdapter for the result table. |
void |
showParametersMenu(org.eclipse.jface.action.IMenuManager manager,
java.lang.String selected,
int selectionIndex,
int itemCount)
Shows the pop-up menu used for editing the parameters list. |
void |
showResultMenu(org.eclipse.jface.action.IMenuManager manager,
java.lang.String selected)
Shows the pop-up menu used for editing the expected method result. |
| Method Detail |
|---|
void init(org.mockcentral.editor.nodes.expectation.ExpectationModel nodeModel,
IEditExpectationPartManager manager)
ExpectationModel.
nodeModel - the ExpectationModel.manager - the IEditExpectationPartManager that manages
action invocations.void editExpectationData()
MockMethodType.
void createParametersTableActions()
void setAnyParameters()
void addParameter(org.mockcentral.server.SignaturePartBean createNewModel)
createNewModel -
void editParameter(org.mockcentral.server.SignaturePartBean partModel,
int index)
void editResult()
void createResultTableActions()
void setParametersTableAdapter(TableViewerAdapter parametersTableAdapter)
TableViewerAdapter for the parameters table.
parametersTableAdapter - the TableViewerAdapter for the
parameters table.void setResultAdapter(TableViewerAdapter resultTableAdapter)
TableViewerAdapter for the result table.
resultTableAdapter - the TableViewerAdapter for the
result table.
void showParametersMenu(org.eclipse.jface.action.IMenuManager manager,
java.lang.String selected,
int selectionIndex,
int itemCount)
manager - the IMenuManager for the menu.selected - a toString value for the currently selected parameter.selectionIndex - the index of the currently selected parameter.itemCount - the count of all the current parameters.
void showResultMenu(org.eclipse.jface.action.IMenuManager manager,
java.lang.String selected)
manager - the IMenuManager for the menu.selected - a toString value for the (currently selected) result.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||