P
- the supported IOProvider
typepublic abstract class AbstractSource<P extends ImportProvider> extends Object implements ImportSource<P>
ImportSource
implementationImportSource.SourceConfiguration<P extends ImportProvider>
Constructor and Description |
---|
AbstractSource() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Dispose any resources when the source page is disposed.
|
protected ImportSource.SourceConfiguration<P> |
getConfiguration() |
protected org.eclipse.jface.wizard.WizardPage |
getPage() |
void |
onActivate()
Method that is called when the source page is activated.
|
void |
setConfiguration(ImportSource.SourceConfiguration<P> configuration)
Sets the source configuration to populate.
|
void |
setPage(org.eclipse.jface.wizard.WizardPage page)
Sets the containing wizard page.
|
boolean |
updateConfiguration(P provider)
Update the configuration (of the I/O provider).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createControls
public void setPage(org.eclipse.jface.wizard.WizardPage page)
ImportSource
setPage
in interface ImportSource<P extends ImportProvider>
page
- the wizard pageImportSource.setPage(WizardPage)
public void setConfiguration(ImportSource.SourceConfiguration<P> configuration)
ImportSource
setConfiguration
in interface ImportSource<P extends ImportProvider>
configuration
- the source configurationImportSource.setConfiguration(SourceConfiguration)
protected org.eclipse.jface.wizard.WizardPage getPage()
protected ImportSource.SourceConfiguration<P> getConfiguration()
public boolean updateConfiguration(P provider)
true
.updateConfiguration
in interface ImportSource<P extends ImportProvider>
provider
- the I/O provider to updatepublic void onActivate()
onActivate
in interface ImportSource<P extends ImportProvider>
public void dispose()
ImportSource
dispose
in interface ImportSource<P extends ImportProvider>
ImportSource.dispose()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a