Package org.dawnsci.conversion.ui
Class ConversionWizardPageServiceImpl
java.lang.Object
org.dawnsci.conversion.ui.ConversionWizardPageServiceImpl
- All Implemented Interfaces:
IConversionWizardPageService
-
Constructor Summary
Constructors -
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> klazz) 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
-
Constructor Details
-
ConversionWizardPageServiceImpl
public ConversionWizardPageServiceImpl()
-
-
Method Details
-
getPage
Description copied from interface:IConversionWizardPageServiceGet the wizardPage for a particular scheme- Specified by:
getPagein interfaceIConversionWizardPageService- Parameters:
scheme- a IConversionScheme instance that should have been returned by this service- Returns:
- the requested page
-
getPage
Description copied from interface:IConversionWizardPageServiceGet the wizardPage for a particular UI label- Specified by:
getPagein interfaceIConversionWizardPageService- Returns:
- the requested page
-
fromLabel
Description copied from interface:IConversionWizardPageServiceGet the IConversionScheme that is associated with a given UI label- Specified by:
fromLabelin interfaceIConversionWizardPageService- Parameters:
label- the scheme UI label- Returns:
- the requested scheme
-
getSchemes
Description copied from interface:IConversionWizardPageServiceGet the instances of all registered IConversionSchemes- Specified by:
getSchemesin interfaceIConversionWizardPageService- Parameters:
visibleOnly- if true, only those schemes that are marked as visible will be returned- Returns:
- the requested schemes
-
getSchemes
Description copied from interface:IConversionWizardPageServiceGet the instances of all registered IConversionSchemes- Specified by:
getSchemesin interfaceIConversionWizardPageService- Returns:
- the requested schemes
-
getLabels
Description copied from interface:IConversionWizardPageServiceGet the UI labels of all available schemes- Specified by:
getLabelsin interfaceIConversionWizardPageService- Parameters:
visibleOnly- if true only those labels that are marked as visible in their schemes will be returned- Returns:
- the requested labels
-
getPages
Description copied from interface:IConversionWizardPageServiceGet the wizardPages of all available schemes- Specified by:
getPagesin interfaceIConversionWizardPageService- Parameters:
visibleOnly- if true only those pages that are marked as visible in their schemes will be returned- Returns:
- the requested pages
-
getPages
Description copied from interface:IConversionWizardPageServiceGet the wizardPages of all available schemes- Specified by:
getPagesin interfaceIConversionWizardPageService- Returns:
- the requested pages
-
getLabels
Description copied from interface:IConversionWizardPageServiceGet the UI labels of all available schemes- Specified by:
getLabelsin interfaceIConversionWizardPageService- Returns:
- the requested labels
-
getImage
Description copied from interface:IConversionWizardPageServiceGet the ImageDescriptor for the image file that is associated with a given scheme- Specified by:
getImagein interfaceIConversionWizardPageService- Parameters:
scheme- An instance of the required scheme- Returns:
- the requested ImageDescriptor
-
getSchemeForClass
Description copied from interface:IConversionWizardPageServiceFor a given IConversionScheme implementing class, return the corresponding internal instance- Specified by:
getSchemeForClassin interfaceIConversionWizardPageService- Parameters:
klazz- The class for which the instance is required- Returns:
- the requested instance
-