|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
pl.edu.agh.cast.data.ui.importer.wizard.ValidationPage
public class ValidationPage
Page of the template import wizard, which serves for import data validation.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
|---|
ERROR, INFORMATION, NONE, WARNING |
| Constructor Summary | |
|---|---|
ValidationPage(String pageName)
The default constructor. |
|
| Method Summary | |
|---|---|
boolean |
canFlipToNextPage()
|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
|
void |
deleteErrors(List<BrokenCellInfo> err)
Delegate to ImportWizard.deleteErrors(List<BrokenCellInfo>) method. |
void |
dispose()
|
org.eclipse.swt.widgets.Composite |
getComposite()
|
TabularData |
getData()
|
BrokenDataInfo |
getErrors()
|
org.eclipse.jface.wizard.IWizardPage |
getNextPage()
|
boolean |
isChooseMainEntity()
|
boolean |
isComplete()
|
boolean |
isCreateDiagram()
|
protected void |
restoreIgnoredRows()
Restores ignored rows in data. |
void |
setData(Template tmpl,
TabularData dat,
BrokenDataInfo err)
Sets the validation page data. |
void |
updateTitleBar()
Updates the title bar by adding an appropriate image descriptor. |
void |
validateRow(DataRow row)
Delegate to ImportWizard.validateRow(BrokenDataInfo, DataRow) method. |
| Methods inherited from class org.eclipse.jface.wizard.WizardPage |
|---|
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, 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 |
|---|
getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible |
| Constructor Detail |
|---|
public ValidationPage(String pageName)
pageName - the name of the page| Method Detail |
|---|
public void setData(Template tmpl,
TabularData dat,
BrokenDataInfo err)
tmpl - the import templatedat - the data to importerr - the errors informationpublic boolean isComplete()
public void deleteErrors(List<BrokenCellInfo> err)
ImportWizard.deleteErrors(List<BrokenCellInfo>) method.
err - the errors to deletepublic boolean isCreateDiagram()
public boolean isChooseMainEntity()
public void updateTitleBar()
public void validateRow(DataRow row)
ImportWizard.validateRow(BrokenDataInfo, DataRow) method. It validates the specified
data row.
row - the row to validateprotected void restoreIgnoredRows()
public void createControl(org.eclipse.swt.widgets.Composite parent)
IDialogPage.createControl(org.eclipse.swt.widgets.Composite)public org.eclipse.jface.wizard.IWizardPage getNextPage()
getNextPage in interface org.eclipse.jface.wizard.IWizardPagegetNextPage in class org.eclipse.jface.wizard.WizardPageWizardPage.getNextPage()public boolean canFlipToNextPage()
canFlipToNextPage in interface org.eclipse.jface.wizard.IWizardPagecanFlipToNextPage in class org.eclipse.jface.wizard.WizardPageWizardPage.canFlipToNextPage()public void dispose()
dispose in interface org.eclipse.jface.dialogs.IDialogPagedispose in class org.eclipse.jface.dialogs.DialogPageDialogPage.dispose()public TabularData getData()
public BrokenDataInfo getErrors()
public org.eclipse.swt.widgets.Composite getComposite()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||