|
Humboldt Alignment Editor 2.5.0 | |||||||||
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
eu.esdihumboldt.hale.ui.HaleWizardPage<W>
eu.esdihumboldt.hale.ui.io.IOWizardPage<P,W>
eu.esdihumboldt.hale.ui.io.config.AbstractConfigurationPage<InstanceReader,InstanceImportWizard>
eu.esdihumboldt.hale.ui.io.instance.InstanceReaderConfigurationPage
eu.esdihumboldt.hale.io.shp.ui.TypeSelectionPage
public class TypeSelectionPage
Configuration page for selecting the schema type for Shapefile instances.
Field Summary |
---|
Fields inherited from interface eu.esdihumboldt.hale.io.shp.ShapefileConstants |
---|
DEFAULT_TYPE_NAME, PARAM_TYPENAME, SHAPEFILE_NS |
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
TypeSelectionPage()
default constructor |
Method Summary | |
---|---|
protected void |
createContent(org.eclipse.swt.widgets.Composite page)
Create the page content |
void |
disable()
Disable the configuration page |
void |
enable()
Enable the configuration page |
protected boolean |
isValidType(TypeDefinition schemaType)
Determines if the given type is compatible to the structure of the selected file. |
protected void |
onShowPage(boolean firstShow)
Called when this page is shown |
boolean |
updateConfiguration(InstanceReader provider)
Update the configuration (of the I/O provider) |
protected void |
validateSelection()
Validate the current selection. |
Methods inherited from class eu.esdihumboldt.hale.ui.HaleWizardPage |
---|
createControl, dispose, getWizard |
Methods inherited from class org.eclipse.jface.wizard.WizardPage |
---|
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, 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 TypeSelectionPage()
Method Detail |
---|
public void enable()
AbstractConfigurationPage
enable
in class AbstractConfigurationPage<InstanceReader,InstanceImportWizard>
AbstractConfigurationPage.enable()
public void disable()
AbstractConfigurationPage
disable
in class AbstractConfigurationPage<InstanceReader,InstanceImportWizard>
AbstractConfigurationPage.disable()
protected void onShowPage(boolean firstShow)
HaleWizardPage
onShowPage
in class HaleWizardPage<InstanceImportWizard>
firstShow
- specifies if it is the first time the page is shown
since its creationHaleWizardPage.onShowPage(boolean)
protected void validateSelection()
onShowPage(boolean)
must have
been called first to set lastType
.
protected boolean isValidType(TypeDefinition schemaType)
schemaType
- the type to test
protected void createContent(org.eclipse.swt.widgets.Composite page)
HaleWizardPage
createContent
in class HaleWizardPage<InstanceImportWizard>
page
- the page composite, implementors may assign a custom layout
to this compositeHaleWizardPage.createContent(Composite)
public boolean updateConfiguration(InstanceReader provider)
IOWizardPage
updateConfiguration
in class IOWizardPage<InstanceReader,InstanceImportWizard>
provider
- the I/O provider to update
IOWizardPage.updateConfiguration(IOProvider)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |