public class TypeSelectionPage extends InstanceReaderConfigurationPage implements ShapefileConstants
AUGMENTED_PROPERTY_FILENAME, DEFAULT_TYPE_NAME, PARAM_TYPENAME, SHAPEFILE_AUGMENT_NS, SHAPEFILE_NS
Constructor and Description |
---|
TypeSelectionPage()
default constructor
|
Modifier and Type | Method and Description |
---|---|
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.
|
loadPreSelection
createControl, dispose, getHelpContext, getWizard, performHelp
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setMessage, setVisible
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 testprotected 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 updateIOWizardPage.updateConfiguration(IOProvider)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a