Package org.dawnsci.conversion.ui.api
Interface IConversionWizardPageService
- All Known Implementing Classes:
ConversionWizardPageServiceImpl
public interface IConversionWizardPageService
-
Method Summary
Modifier and TypeMethodDescriptionGet the IConversionScheme that is associated with a given UI labelorg.eclipse.jface.resource.ImageDescriptorgetImage(IConversionScheme scheme) Get the ImageDescriptor for the image file that is associated with a given schemeString[]Get the UI labels of all available schemesString[]getLabels(boolean visibleOnly) Get the UI labels of all available schemesGet the wizardPage for a particular UI labelgetPage(IConversionScheme scheme) Get the wizardPage for a particular schemegetPages()Get the wizardPages of all available schemesgetPages(boolean visibleOnly) Get the wizardPages of all available schemes<U extends IConversionScheme>
UgetSchemeForClass(Class<U> scheme) For a given IConversionScheme implementing class, return the corresponding internal instanceGet the instances of all registered IConversionSchemesgetSchemes(boolean visibleOnly) Get the instances of all registered IConversionSchemes
-
Method Details
-
getPage
Get the wizardPage for a particular scheme- Parameters:
scheme- a IConversionScheme instance that should have been returned by this service- Returns:
- the requested page
-
getPage
Get the wizardPage for a particular UI label- Parameters:
scheme- a IConversionScheme instance that should have been returned by this service- Returns:
- the requested page
-
getLabels
String[] getLabels()Get the UI labels of all available schemes- Returns:
- the requested labels
-
getLabels
Get the UI labels of all available schemes- Parameters:
visibleOnly- if true only those labels that are marked as visible in their schemes will be returned- Returns:
- the requested labels
-
getPages
Get the wizardPages of all available schemes- Parameters:
visibleOnly- if true only those pages that are marked as visible in their schemes will be returned- Returns:
- the requested pages
-
getPages
IConversionWizardPage[] getPages()Get the wizardPages of all available schemes- Returns:
- the requested pages
-
getSchemeForClass
For a given IConversionScheme implementing class, return the corresponding internal instance- Parameters:
scheme- The class for which the instance is required- Returns:
- the requested instance
-
fromLabel
Get the IConversionScheme that is associated with a given UI label- Parameters:
label- the scheme UI label- Returns:
- the requested scheme
-
getSchemes
Get the instances of all registered IConversionSchemes- Parameters:
visibleOnly- if true, only those schemes that are marked as visible will be returned- Returns:
- the requested schemes
-
getSchemes
List<IConversionScheme> getSchemes()Get the instances of all registered IConversionSchemes- Returns:
- the requested schemes
-
getImage
Get the ImageDescriptor for the image file that is associated with a given scheme- Parameters:
scheme- An instance of the required scheme- Returns:
- the requested ImageDescriptor
-