org.mockcentral.editor.nodes.fixture.wizard
Class EditFixtureImportsPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.mockcentral.editor.nodes.fixture.wizard.EditFixtureImportsPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class EditFixtureImportsPage
extends org.eclipse.jface.wizard.WizardPage

The WizardPage used to edit the imports list for a Mock Objects Fixture in an EditFixtureWizard.

Author:
David Hutchinson

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
protected EditFixtureImportsPage(org.mockcentral.editor.nodes.fixture.FixtureDataBean bean, org.mockcentral.editor.viewers.MockCentralTableModel<org.mockcentral.editor.nodes.MockCentralNode> importableFixturesModel, boolean isNewFixture)
          Creates a new instance.
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 void setVisible(boolean visible)
           
protected  void updateFixturesSelected()
          Updates the FixtureDataBean when the user checks or unchecks items in the table viewer.
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp
 

Constructor Detail

EditFixtureImportsPage

protected EditFixtureImportsPage(org.mockcentral.editor.nodes.fixture.FixtureDataBean bean,
                                 org.mockcentral.editor.viewers.MockCentralTableModel<org.mockcentral.editor.nodes.MockCentralNode> importableFixturesModel,
                                 boolean isNewFixture)
Creates a new instance.

Parameters:
bean - the FixtureDataBean storing the data.
importableFixturesModel - the MockCentralTableModel modeling the list of importable fixtures.
isNewFixture - a flag for whether the fixture is newly created or not.
Method Detail

setVisible

public void setVisible(boolean visible)
Specified by:
setVisible in interface org.eclipse.jface.dialogs.IDialogPage
Overrides:
setVisible in class org.eclipse.jface.dialogs.DialogPage

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)

updateFixturesSelected

protected void updateFixturesSelected()
Updates the FixtureDataBean when the user checks or unchecks items in the table viewer.