org.mockcentral.editor.nodes.expectation_group
Class EditExpectationGroupPage
java.lang.Object
org.mockcentral.editor.components.MockCentralPluginNodeView
org.mockcentral.editor.components.MockCentralPluginNodeGroupView
org.mockcentral.editor.nodes.expectation_group.EditExpectationGroupPage
- All Implemented Interfaces:
- org.eclipse.jface.viewers.IDoubleClickListener, org.mockcentral.editor.nodes.IMockCentralGroupNodeModelObserver, org.mockcentral.editor.nodes.IMockCentralNodeView, org.mockcentral.editor.nodes.problem.INodeProblemListener, org.mockcentral.editor.viewers.IMockCentralNodeGroupViewer
public class EditExpectationGroupPage
- extends MockCentralPluginNodeGroupView
The MockCentralPluginNodeGroupView used for editing the list of
method expectations for a Mock Object.
- Author:
- David Hutchinson
|
Constructor Summary |
EditExpectationGroupPage(org.eclipse.ui.forms.widgets.FormToolkit toolkit,
org.eclipse.swt.widgets.Composite page)
Creates a new instance. |
| Methods inherited from class org.mockcentral.editor.components.MockCentralPluginNodeGroupView |
addNewChildren, childrenChanged, createPageContent, dispose, doubleClick, fillContextMenu, getClipboard, getNodeGroupModel, getSelectedNode, getSelectedNodeIndex, getTableViewerAdapter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditExpectationGroupPage
public EditExpectationGroupPage(org.eclipse.ui.forms.widgets.FormToolkit toolkit,
org.eclipse.swt.widgets.Composite page)
- Creates a new instance.
- Parameters:
toolkit - the FormToolkit.page - the enclosing Composite.
getInputDescription
public java.lang.String getInputDescription()
- Specified by:
getInputDescription in interface org.mockcentral.editor.nodes.IMockCentralNodeView- Overrides:
getInputDescription in class MockCentralPluginNodeGroupView
setNodeModel
public void setNodeModel(org.mockcentral.editor.nodes.MockCentralNodeModel nodeModel)
- Specified by:
setNodeModel in interface org.mockcentral.editor.nodes.IMockCentralNodeView- Overrides:
setNodeModel in class MockCentralPluginNodeGroupView
showCreateNewChildDialog
public void showCreateNewChildDialog()
- Description copied from class:
MockCentralPluginNodeGroupView
- Displays a
Dialog for creating a new entry for the group of
MockCentralNode instances.
- Specified by:
showCreateNewChildDialog in interface org.mockcentral.editor.viewers.IMockCentralNodeGroupViewer- Specified by:
showCreateNewChildDialog in class MockCentralPluginNodeGroupView
updateNodeProblems
public void updateNodeProblems(java.util.List<org.mockcentral.editor.nodes.problem.NodeProblem> arg0)
setEditActions
protected void setEditActions(IEditExpectationGroupActions editActions)
- Sets the
EditExpectationGroupActions.
- Parameters:
editActions - the EditExpectationGroupActions to set.