eu.esdihumboldt.hale.ui.schema.presets
Class PresetsSource
java.lang.Object
eu.esdihumboldt.hale.ui.io.source.AbstractSource<P>
eu.esdihumboldt.hale.ui.io.source.AbstractProviderSource<SchemaReader>
eu.esdihumboldt.hale.ui.schema.presets.PresetsSource
- All Implemented Interfaces:
- ImportSource<SchemaReader>
public class PresetsSource
- extends AbstractProviderSource<SchemaReader>
TODO Type description
- Author:
- Simon Templer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PresetsSource
public PresetsSource()
getSource
protected LocatableInputSupplier<? extends InputStream> getSource()
- Description copied from class:
AbstractProviderSource
- Get the source to configure the import provider with.
- Specified by:
getSource
in class AbstractProviderSource<SchemaReader>
- Returns:
- the input supplier as source for the import provider or
null
if no valid source can be created - See Also:
AbstractProviderSource.getSource()
isValidSource
protected boolean isValidSource()
- Description copied from class:
AbstractProviderSource
- Determines if the current page state will result in a valid source for
the import provider. Used among others to determine the complete state of
the wizard page.
- Specified by:
isValidSource
in class AbstractProviderSource<SchemaReader>
- Returns:
- if the source is valid
- See Also:
AbstractProviderSource.isValidSource()
updateContentType
protected void updateContentType()
- Description copied from class:
AbstractProviderSource
- Update the content type.
The default implementation only calls AbstractProviderSource.updateProvider()
.
Subclasses may add logic to change the content type in the source
configuration.
- Overrides:
updateContentType
in class AbstractProviderSource<SchemaReader>
- See Also:
AbstractProviderSource.updateContentType()
createControls
public void createControls(org.eclipse.swt.widgets.Composite parent)
- Description copied from interface:
ImportSource
- Create the controls that enable the user to define the import source.
ImportSource.setPage(WizardPage)
and
ImportSource.setConfiguration(SourceConfiguration)
must have been called
before calling this method.
- Parameters:
parent
- the parent composite, implementors may assign a custom
layout to this composite- See Also:
ImportSource.createControls(Composite)
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d