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
A
WizardPage
used 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 the
SLOViewsWizard
.-
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createControl
(Composite parent) void
void
setMaxSimulationTime
(double max) 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.void
setTimestep
(double timestep) Method which handles the status of the wholeWizardPage
based on the different states resulting from inputs.void
void
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 Details
-
SLODialogAggDataPage
Constructor.- Parameters:
pageName
-measurementsList
- A list containing all selected measurements fromSLODialogChooseMeasuringPointsPage
.
-
-
Method Details
-
createControl
- Specified by:
createControl
in interfaceIDialogPage
-
selectionChanged
- Specified by:
selectionChanged
in interfaceISelectionChangedListener
-
getNextPage
- Specified by:
getNextPage
in interfaceIWizardPage
- Overrides:
getNextPage
in classWizardPage
-
updatePageStatus
Method which handles the status of the wholeWizardPage
based on the different states resulting from inputs.- Returns:
- the page Status
-
widgetSelected
- Specified by:
widgetSelected
in interfaceSelectionListener
-
widgetDefaultSelected
- Specified by:
widgetDefaultSelected
in 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)
-