pl.edu.agh.cast.data.ui.template
Class ParametersWizardPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by pl.edu.agh.cast.data.ui.template.ParametersWizardPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

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

Page of the template creation wizard, which serves for column parameters selection.

Author:
AGH CAST Team

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
protected ParametersWizardPage(String pageName, String pageDescription)
           
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
          
 Map<Integer,ModelColumnParameter[]> getColumnsParameters()
           
 void notifyColumnUpdate(ModelColumn updatedColumn)
          Method used by the ParametersComposite to notify about a model column update change (about addition of its' parameters possible values).
 void setData(Map<ModelColumn,Integer> columnMapping, TabularData data)
          Sets the parameters wizard page and parameters composite data.
 
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, setVisible
 
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, setVisible
 

Constructor Detail

ParametersWizardPage

protected ParametersWizardPage(String pageName,
                               String pageDescription)
Method Detail

setData

public void setData(Map<ModelColumn,Integer> columnMapping,
                    TabularData data)
Sets the parameters wizard page and parameters composite data.

Parameters:
columnMapping - the mapping of model columns to column indexes
data - the tabular data

createControl

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

See Also:
IDialogPage.createControl(org.eclipse.swt.widgets.Composite)

notifyColumnUpdate

public void notifyColumnUpdate(ModelColumn updatedColumn)
Method used by the ParametersComposite to notify about a model column update change (about addition of its' parameters possible values).

Parameters:
updatedColumn - the updated column

getColumnsParameters

public Map<Integer,ModelColumnParameter[]> getColumnsParameters()


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.