Class SLODialogAggDataPage
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.wizard.WizardPage
-
- org.palladiosimulator.servicelevelobjective.edp2.visualization.wizards.SLODialogAggDataPage
-
- All Implemented Interfaces:
EventListener,IDialogPage,IMessageProvider,ISelectionChangedListener,IWizardPage,SelectionListener,SWTEventListener
public class SLODialogAggDataPage extends WizardPage implements ISelectionChangedListener, SelectionListener
AWizardPageused to present the user a view of available aggregation modes for data. After selection of a modus, the data is recomputed accordingly and forwarded to theSLOViewsWizard.
-
-
Field Summary
-
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSLODialogAggDataPage(String pageName)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateControl(Composite parent)IWizardPagegetNextPage()voidselectionChanged(SelectionChangedEvent event)voidsetMaxSimulationTime(double max)voidsetMeasurementsListAndLabel(List<org.palladiosimulator.edp2.models.ExperimentData.Measurement> measurementsList)Sets a list of measurements and infers a label for aggregated data from these measurements.voidsetTimestep(double timestep)IStatusupdatePageStatus()Method which handles the status of the wholeWizardPagebased on the different states resulting from inputs.voidwidgetDefaultSelected(SelectionEvent e)voidwidgetSelected(SelectionEvent e)-
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, 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
-
SLODialogAggDataPage
protected SLODialogAggDataPage(String pageName)
Constructor.- Parameters:
pageName-measurementsList- A list containing all selected measurements fromSLODialogChooseMeasuringPointsPage.
-
-
Method Detail
-
createControl
public void createControl(Composite parent)
- Specified by:
createControlin interfaceIDialogPage
-
selectionChanged
public void selectionChanged(SelectionChangedEvent event)
- Specified by:
selectionChangedin interfaceISelectionChangedListener
-
getNextPage
public IWizardPage getNextPage()
- Specified by:
getNextPagein interfaceIWizardPage- Overrides:
getNextPagein classWizardPage
-
updatePageStatus
public IStatus updatePageStatus()
Method which handles the status of the wholeWizardPagebased on the different states resulting from inputs.- Returns:
- the page Status
-
widgetSelected
public void widgetSelected(SelectionEvent e)
- Specified by:
widgetSelectedin interfaceSelectionListener
-
widgetDefaultSelected
public void widgetDefaultSelected(SelectionEvent e)
- Specified by:
widgetDefaultSelectedin interfaceSelectionListener
-
setMeasurementsListAndLabel
public void setMeasurementsListAndLabel(List<org.palladiosimulator.edp2.models.ExperimentData.Measurement> measurementsList)
Sets a list of measurements and infers a label for aggregated data from these measurements.- Parameters:
measurementsList-
-
setTimestep
public void setTimestep(double timestep)
-
setMaxSimulationTime
public void setMaxSimulationTime(double max)
-
-