public class EditPeriodPage
extends org.eclipse.jface.wizard.WizardPage
| Constructor and Description |
|---|
EditPeriodPage(ProcessCalendar processCalendar,
org.eclipse.jface.wizard.IWizardPage one,
org.eclipse.jface.wizard.IWizardPage two)
constructor sets the parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
check()
check if the period can be edited (if it is valid)
|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
implements the UI elements of the page.
|
void |
edit(String startTime,
String endTime)
edit the period.
|
void |
editPeriod()
edit the period if it's valid
|
void |
fillTexts()
fills the text fields in case, that a period is selected
on page two.
|
canFlipToNextPage, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toStringdispose, getControl, getDescription, getErrorMessage, getMessage, getMessageType, getTitle, performHelp, setMessage, setVisiblepublic EditPeriodPage(ProcessCalendar processCalendar, org.eclipse.jface.wizard.IWizardPage one, org.eclipse.jface.wizard.IWizardPage two)
actorCalendar - the Actor Calendar which opened the wizardone - the first page of the wizardtwo - the second page of the wizardpublic void createControl(org.eclipse.swt.widgets.Composite parent)
The two text fields to edit the period and a Button to save the changes.
parent - the parent Composite of the page
(non-Javadoc)IDialogPage.createControl(org.eclipse.swt.widgets.Composite)public void fillTexts()
public void editPeriod()
public void edit(String startTime, String endTime)
startTime - start time of the periodendTime - end time of the periodpublic boolean check()