public class PresetsSource extends AbstractProviderSource<SchemaReader>
ImportSource.SourceConfiguration<P extends ImportProvider>
Constructor and Description |
---|
PresetsSource() |
Modifier and Type | Method and Description |
---|---|
void |
createControls(org.eclipse.swt.widgets.Composite parent)
Create the controls that enable the user to define the import source.
|
protected LocatableInputSupplier<? extends InputStream> |
getSource()
Get the source to configure the import provider with.
|
protected boolean |
isValidSource()
Determines if the current page state will result in a valid source for
the import provider.
|
protected void |
updateContentType()
Update the content type.
The default implementation only calls AbstractProviderSource.updateProvider() . |
createProviders, getProviders, onProviderSelectionChanged, updateConfiguration, updateProvider, updateState
dispose, getConfiguration, getPage, onActivate, setConfiguration, setPage
protected LocatableInputSupplier<? extends InputStream> getSource()
AbstractProviderSource
getSource
in class AbstractProviderSource<SchemaReader>
null
if no valid source can be createdAbstractProviderSource.getSource()
protected boolean isValidSource()
AbstractProviderSource
isValidSource
in class AbstractProviderSource<SchemaReader>
AbstractProviderSource.isValidSource()
protected void updateContentType()
AbstractProviderSource
AbstractProviderSource.updateProvider()
.
Subclasses may add logic to change the content type in the source
configuration.updateContentType
in class AbstractProviderSource<SchemaReader>
AbstractProviderSource.updateContentType()
public void createControls(org.eclipse.swt.widgets.Composite parent)
ImportSource
ImportSource.setPage(WizardPage)
and
ImportSource.setConfiguration(SourceConfiguration)
must have been called
before calling this method.parent
- the parent composite, implementors may assign a custom
layout to this compositeImportSource.createControls(Composite)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a