org.mockcentral.editor.nodes.fixture_group
Class EditFixtureGroupPage

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

The MockCentralPluginNodeGroupView used for editing the list of Mock Object Fixtures.

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
EditFixtureGroupPage(org.eclipse.ui.forms.widgets.FormToolkit toolkit, org.eclipse.swt.widgets.Composite page)
          Creates a new instance.
 
Method Summary
 void setEditActions(IEditFixtureGroupActions editActions)
          Sets the IEditFixtureGroupActions.
 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, getInputDescription, 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

EditFixtureGroupPage

public EditFixtureGroupPage(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

setEditActions

public void setEditActions(IEditFixtureGroupActions editActions)
Sets the IEditFixtureGroupActions.

Parameters:
editActions - the IEditFixtureGroupActions 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)