public class EditDayProfile
extends org.eclipse.jface.wizard.WizardPage
Constructor and Description |
---|
EditDayProfile(ProcessCalendar processCalendar,
org.eclipse.jface.wizard.IWizardPage one,
DayProfilesWizard w)
the constructor sets the title and the parameters
|
Modifier and Type | Method and Description |
---|---|
void |
addInterval(String start,
String end)
the method to add the period
|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
implements the UI elements of this page.
|
void |
fillList()
fills the list with periods, if a day profile is selcted on
page one.
|
String |
getText1() |
canFlipToNextPage, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
dispose, getControl, getDescription, getErrorMessage, getMessage, getMessageType, getTitle, performHelp, setMessage, setVisible
public EditDayProfile(ProcessCalendar processCalendar, org.eclipse.jface.wizard.IWizardPage one, DayProfilesWizard w)
processCalendar
- the process Calendar which opened the wizardone
- the first page of the wizardw
- the wizard this page belongs topublic void createControl(org.eclipse.swt.widgets.Composite parent)
The text field to change the name of the day profile. The two text fields to add a new period. The Buttons to Add and Delete a period and the list of all existing periods.
parent
- the parent Composite of the page
(non-Javadoc)IDialogPage.createControl(org.eclipse.swt.widgets.Composite)
public void addInterval(String start, String end)
start
- the start time pointend
- the end time pointpublic void fillList()
public String getText1()