org.mockcentral.editor.nodes.fixture
Interface IEditFixtureActions

All Known Implementing Classes:
EditFixtureActions

public interface IEditFixtureActions

Interface for the EditFixtureActions class.

Author:
David Hutchinson

Method Summary
 void addFixtureImport(org.mockcentral.editor.nodes.fixture.FixtureNode importedFixtureNode)
          Executes an action to add a new FixtureNode import.
 void createSimpleBoundObjectsTableActions(org.eclipse.swt.widgets.Table table, TableViewerAdapter adapter)
          Creates the IAction instances for editing the list of simple (non-Mock) JNDI-bound Objects displayed in the Table on the page.
 void deleteSimpleBoundObject(org.mockcentral.editor.nodes.fixture.SimpleBoundObjectModel model)
          Deletes a simple (non-Mock) JNDI-bound object from the current fixture's list.
 void setNodeModel(org.mockcentral.editor.nodes.fixture.FixtureModel nodeModel)
          Sets the FixtureModel.
 void showAddSimpleBoundObjectWizard()
          Shows a wizard used to add a new simple (non-Mock) JNDI-bound Object.
 void showEditFixtureDataWizard()
          Shows a wizard used to edit the fixture name, description and imports list.
 void showEditSimpleBoundObjectWizard(org.mockcentral.editor.nodes.fixture.SimpleBoundObjectModel originalData)
          Shows a wizard used to edit a new simple (non-Mock) JNDI-bound Object.
 

Method Detail

setNodeModel

void setNodeModel(org.mockcentral.editor.nodes.fixture.FixtureModel nodeModel)
Sets the FixtureModel.

Parameters:
nodeModel - the FixtureModel to set.

addFixtureImport

void addFixtureImport(org.mockcentral.editor.nodes.fixture.FixtureNode importedFixtureNode)
Executes an action to add a new FixtureNode import.

Parameters:
importedFixtureNode - the new FixtureNode import.

createSimpleBoundObjectsTableActions

void createSimpleBoundObjectsTableActions(org.eclipse.swt.widgets.Table table,
                                          TableViewerAdapter adapter)
Creates the IAction instances for editing the list of simple (non-Mock) JNDI-bound Objects displayed in the Table on the page.

Parameters:
table - the Table.
adapter - TableViewerAdapter for the Table .

showEditFixtureDataWizard

void showEditFixtureDataWizard()
Shows a wizard used to edit the fixture name, description and imports list.


showAddSimpleBoundObjectWizard

void showAddSimpleBoundObjectWizard()
Shows a wizard used to add a new simple (non-Mock) JNDI-bound Object.


showEditSimpleBoundObjectWizard

void showEditSimpleBoundObjectWizard(org.mockcentral.editor.nodes.fixture.SimpleBoundObjectModel originalData)
Shows a wizard used to edit a new simple (non-Mock) JNDI-bound Object.

Parameters:
originalData - the SimpleBoundObjectModel containing the original data.

deleteSimpleBoundObject

void deleteSimpleBoundObject(org.mockcentral.editor.nodes.fixture.SimpleBoundObjectModel model)
Deletes a simple (non-Mock) JNDI-bound object from the current fixture's list.

Parameters:
model - the SimpleBoundObjectModel for the object.