org.mockcentral.editor.nodes.mockobject_group
Class EditMockObjectGroupPage

java.lang.Object
  extended by org.mockcentral.editor.components.MockCentralPluginNodeView
      extended by org.mockcentral.editor.components.MockCentralPluginNodeGroupView
          extended by org.mockcentral.editor.nodes.mockobject_group.EditMockObjectGroupPage
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 EditMockObjectGroupPage
extends MockCentralPluginNodeGroupView

The MockCentralPluginNodeView used for editing the list of Mock Objects in the enclosing Fixture.

Author:
David Hutchinson

Field Summary
 
Fields inherited from class org.mockcentral.editor.components.MockCentralPluginNodeGroupView
allChildrenSectionTitleKey, newButtonTipTextKey, pageTitleKey, sortButtonTipTextKey, tableViewerAdapter
 
Fields inherited from class org.mockcentral.editor.components.MockCentralPluginNodeView
imagesMap, page, toolkit
 
Constructor Summary
EditMockObjectGroupPage(org.eclipse.ui.forms.widgets.FormToolkit toolkit, org.eclipse.swt.widgets.Composite page)
          Creates a new instance.
 
Method Summary
 java.lang.String getInputDescription()
           
 void setEditActions(IEditMockObjectGroupActions editActions)
          Sets the IEditMockObjectGroupActions.
 void setNodeModel(org.mockcentral.editor.nodes.MockCentralNodeModel nodeModel)
           
 void showCreateNewChildDialog()
          Displays a Dialog for creating a new entry for the group of MockCentralNode instances.
 void updateNodeProblems(java.util.List<org.mockcentral.editor.nodes.problem.NodeProblem> arg0)
           
 
Methods inherited from class org.mockcentral.editor.components.MockCentralPluginNodeGroupView
addNewChildren, childrenChanged, createPageContent, dispose, doubleClick, fillContextMenu, getClipboard, getNodeGroupModel, getSelectedNode, getSelectedNodeIndex, getTableViewerAdapter
 
Methods inherited from class org.mockcentral.editor.components.MockCentralPluginNodeView
createButton, createLabel, getImagesMap, getOperationHistory, getUndoContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditMockObjectGroupPage

public EditMockObjectGroupPage(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.
Method Detail

getInputDescription

public java.lang.String getInputDescription()
Specified by:
getInputDescription in interface org.mockcentral.editor.nodes.IMockCentralNodeView
Overrides:
getInputDescription in class MockCentralPluginNodeGroupView

setEditActions

public void setEditActions(IEditMockObjectGroupActions editActions)
Sets the IEditMockObjectGroupActions.

Parameters:
editActions - the IEditMockObjectGroupActions to set.

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)