Class SLODialogChooseRepositoryPage
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.wizard.WizardPage
-
- org.palladiosimulator.servicelevelobjective.edp2.visualization.wizards.SLODialogChooseRepositoryPage
-
- All Implemented Interfaces:
EventListener,IDialogPage,IMessageProvider,IWizardPage,ModifyListener,SWTEventListener
public class SLODialogChooseRepositoryPage extends WizardPage implements ModifyListener
AWizardPageprompting the user to import a file containing aServiceLevelObjectiveRepository. The chosenServiceLevelObjectiveRepositoryis forwarded to theSLOViewsWizardcontrolling this page.
-
-
Field Summary
-
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
-
-
Constructor Summary
Constructors Constructor Description SLODialogChooseRepositoryPage(String name, org.palladiosimulator.metricspec.MetricDescription metricDescription)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateControl(Composite parent)voidmodifyText(ModifyEvent e)voidsetSelectedMeasurements(List<org.palladiosimulator.edp2.models.ExperimentData.Measurement> selectedMeasurements)IStatusupdatePageStatus()Method which handles the status of the wholeWizardPagebased on the different states resulting from inputs.-
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
-
SLODialogChooseRepositoryPage
public SLODialogChooseRepositoryPage(String name, org.palladiosimulator.metricspec.MetricDescription metricDescription)
Constructor.- Parameters:
name-
-
-
Method Detail
-
createControl
public void createControl(Composite parent)
- Specified by:
createControlin interfaceIDialogPage
-
updatePageStatus
public IStatus updatePageStatus()
Method which handles the status of the wholeWizardPagebased on the different states resulting from inputs.- Returns:
- the page Status
-
setSelectedMeasurements
public void setSelectedMeasurements(List<org.palladiosimulator.edp2.models.ExperimentData.Measurement> selectedMeasurements)
-
modifyText
public void modifyText(ModifyEvent e)
- Specified by:
modifyTextin interfaceModifyListener
-
-