de.cau.cs.kieler.sim.kiem.automated.ui.ui
Class PropertySettingPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by de.cau.cs.kieler.sim.kiem.automated.ui.ui.PropertySettingPage
All Implemented Interfaces:
EventListener, IDialogPage, IMessageProvider, IWizardPage, SelectionListener, org.eclipse.swt.internal.SWTEventListener

public class PropertySettingPage
extends WizardPage
implements SelectionListener

The page for setting up all custom properties for the execution.

Rating proposed yellow
(2010-01-29)

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
PropertySettingPage()
          Creates a new empty PropertySettingPage.
PropertySettingPage(List<KiemProperty> selection)
          Creates a new PropertySettingPage with an initial setup.
 
Method Summary
 boolean canFlipToNextPage()
          
 void createControl(Composite parent)
          
 Control getControl()
          
 List<KiemProperty> getProperties()
          Getter for the properties.
 boolean isPageComplete()
          
 void widgetDefaultSelected(SelectionEvent e)
          
 void widgetSelected(SelectionEvent e)
          
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, 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, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Constructor Detail

PropertySettingPage

public PropertySettingPage()
Creates a new empty PropertySettingPage.


PropertySettingPage

public PropertySettingPage(List<KiemProperty> selection)
Creates a new PropertySettingPage with an initial setup.

Parameters:
selection - the initial selection
Method Detail

createControl

public void createControl(Composite parent)

Specified by:
createControl in interface IDialogPage

getControl

public Control getControl()

Specified by:
getControl in interface IDialogPage
Overrides:
getControl in class DialogPage

canFlipToNextPage

public boolean canFlipToNextPage()

Specified by:
canFlipToNextPage in interface IWizardPage
Overrides:
canFlipToNextPage in class WizardPage

isPageComplete

public boolean isPageComplete()

Specified by:
isPageComplete in interface IWizardPage
Overrides:
isPageComplete in class WizardPage

getProperties

public List<KiemProperty> getProperties()
Getter for the properties.

Returns:
the list of properties

widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent e)

Specified by:
widgetDefaultSelected in interface SelectionListener

widgetSelected

public void widgetSelected(SelectionEvent e)

Specified by:
widgetSelected in interface SelectionListener