public class ImportSelectSourcePage.SourcePage extends WizardPageDecorator implements ImportSource.SourceConfiguration<P>
Constructor and Description |
---|
ImportSelectSourcePage.SourcePage(ImportSource<P> importSource,
org.eclipse.swt.widgets.Composite parent,
org.eclipse.core.runtime.content.IContentType initialContentType)
Create an import source page and add it to the
ImportSelectSourcePage.sources list. |
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activate the source page.
|
void |
dispose() |
org.eclipse.core.runtime.content.IContentType |
getContentType()
Get the content type assigned to the configuration
|
String |
getErrorMessage() |
Collection<IOProviderDescriptor> |
getFactories()
Get the available provider descriptors.
|
ImportSource<P> |
getImportSource() |
int |
getIndex() |
String |
getMessage() |
int |
getMessageType() |
IOProviderDescriptor |
getProviderFactory()
Get the provider factory assigned to the configuration.
|
W |
getWizard() |
boolean |
isPageComplete() |
void |
setContentType(org.eclipse.core.runtime.content.IContentType contentType)
Assign a content type to the configuration
|
void |
setErrorMessage(String newMessage) |
void |
setMessage(String newMessage) |
void |
setMessage(String newMessage,
int newType) |
void |
setPageComplete(boolean complete) |
void |
setProviderFactory(IOProviderDescriptor factory)
Assign an I/O provider factory to the configuration
|
canFlipToNextPage, createControl, equals, getControl, getDescription, getImage, getName, getNextPage, getPreviousPage, getShell, getTitle, hashCode, performHelp, setDescription, setImageDescriptor, setPreviousPage, setTitle, setVisible, setWizard, toString
getContainer, getDialogSettings, isCurrentPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getDialogFontName, getFont, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl
public ImportSelectSourcePage.SourcePage(ImportSource<P> importSource, org.eclipse.swt.widgets.Composite parent, org.eclipse.core.runtime.content.IContentType initialContentType)
ImportSelectSourcePage.sources
list.importSource
- the corresponding import sourceparent
- the parent compositeinitialContentType
- the content type the import source page
should be initialized with, may be null
public W getWizard()
getWizard
in interface org.eclipse.jface.wizard.IWizardPage
getWizard
in class WizardPageDecorator
WizardPageDecorator.getWizard()
public void activate()
public Collection<IOProviderDescriptor> getFactories()
ImportSource.SourceConfiguration
getFactories
in interface ImportSource.SourceConfiguration<P extends ImportProvider>
ImportSource.SourceConfiguration.getFactories()
public void setProviderFactory(IOProviderDescriptor factory)
ImportSource.SourceConfiguration
setProviderFactory
in interface ImportSource.SourceConfiguration<P extends ImportProvider>
factory
- the provider descriptor to setImportSource.SourceConfiguration.setProviderFactory(IOProviderDescriptor)
public IOProviderDescriptor getProviderFactory()
ImportSource.SourceConfiguration
getProviderFactory
in interface ImportSource.SourceConfiguration<P extends ImportProvider>
ImportSource.SourceConfiguration.getProviderFactory()
public void setContentType(org.eclipse.core.runtime.content.IContentType contentType)
ImportSource.SourceConfiguration
setContentType
in interface ImportSource.SourceConfiguration<P extends ImportProvider>
contentType
- the content type to setImportSource.SourceConfiguration.setContentType(IContentType)
public String getErrorMessage()
getErrorMessage
in interface org.eclipse.jface.dialogs.IDialogPage
getErrorMessage
in class WizardPageDecorator
WizardPageDecorator.getErrorMessage()
public boolean isPageComplete()
isPageComplete
in interface org.eclipse.jface.wizard.IWizardPage
isPageComplete
in class WizardPageDecorator
WizardPageDecorator.isPageComplete()
public String getMessage()
getMessage
in interface org.eclipse.jface.dialogs.IDialogPage
getMessage
in interface org.eclipse.jface.dialogs.IMessageProvider
getMessage
in class WizardPageDecorator
WizardPageDecorator.getMessage()
public int getMessageType()
getMessageType
in interface org.eclipse.jface.dialogs.IMessageProvider
getMessageType
in class WizardPageDecorator
WizardPageDecorator.getMessageType()
public void setErrorMessage(String newMessage)
setErrorMessage
in class WizardPageDecorator
WizardPageDecorator.setErrorMessage(String)
public void setMessage(String newMessage, int newType)
setMessage
in class WizardPageDecorator
WizardPageDecorator.setMessage(String, int)
public void setPageComplete(boolean complete)
setPageComplete
in class WizardPageDecorator
WizardPageDecorator.setPageComplete(boolean)
public void setMessage(String newMessage)
setMessage
in class WizardPageDecorator
WizardPageDecorator.setMessage(String)
public org.eclipse.core.runtime.content.IContentType getContentType()
ImportSource.SourceConfiguration
getContentType
in interface ImportSource.SourceConfiguration<P extends ImportProvider>
null
ImportSource.SourceConfiguration.getContentType()
public ImportSource<P> getImportSource()
public int getIndex()
public void dispose()
dispose
in interface org.eclipse.jface.dialogs.IDialogPage
dispose
in class WizardPageDecorator
WizardPageDecorator.dispose()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a