Package org.dawnsci.processing.ui.api
Interface IOperationUIService
public interface IOperationUIService
-
Method Summary
Modifier and TypeMethodDescriptiongetWizard(org.eclipse.january.dataset.IDataset initialData, List<IOperationSetupWizardPage> startPages, String operationsFile, List<IOperationSetupWizardPage> endPages) Get an IOperationModelWizard for the provided pages and/or operations startPages and endPages are not allowed to be all null or empty!getWizard(org.eclipse.january.dataset.IDataset initialData, List<IOperationSetupWizardPage> startPages, List<IOperation<? extends IOperationModel, ? extends OperationData>> operations, List<IOperationSetupWizardPage> endPages) Get an IOperationModelWizard for the provided pages and/or operations startPages, operations and endPages are not allowed to be all null or empty!getWizardPage(IOperation<? extends IOperationModel, ? extends OperationData> operation) Get the IOperationSetupWizardPage that corresponds to the operation If no dedicated page was found for this operation, an instance of the default page (ConfigureOperationModelWizardPage) will be returned.getWizardPage(IOperation<? extends IOperationModel, ? extends OperationData> operation, boolean returnDefaultIfNotFound) Get the IOperationSetupWizardPage that corresponds to the operation If no dedicated page was found for this operation, an instance of the default page (ConfigureOperationModelWizardPage) will be returned.voidrunProcessingWithUI(IOperation[] operations, SliceFromSeriesMetadata metadata, ProcessingOutputType outputType)
-
Method Details
-
getWizardPage
IOperationSetupWizardPage getWizardPage(IOperation<? extends IOperationModel, ? extends OperationData> operation) Get the IOperationSetupWizardPage that corresponds to the operation If no dedicated page was found for this operation, an instance of the default page (ConfigureOperationModelWizardPage) will be returned.- Parameters:
operation- The operation for which a page will be returned- Returns:
- a newly instantiated IOperationSetupWizardPage
-
getWizardPage
IOperationSetupWizardPage getWizardPage(IOperation<? extends IOperationModel, ? extends OperationData> operation, boolean returnDefaultIfNotFound) Get the IOperationSetupWizardPage that corresponds to the operation If no dedicated page was found for this operation, an instance of the default page (ConfigureOperationModelWizardPage) will be returned.- Parameters:
operation- The operation for which a page will be returnedreturnDefaultIfNotFound- if true and if no dedicated page was found, an instance of the default page will be returned, otherwise null- Returns:
- a newly instantiated IOperationSetupWizardPage
-
getWizard
IOperationModelWizard getWizard(org.eclipse.january.dataset.IDataset initialData, List<IOperationSetupWizardPage> startPages, List<IOperation<? extends IOperationModel, ? extends OperationData>> operations, List<IOperationSetupWizardPage> endPages) Get an IOperationModelWizard for the provided pages and/or operations startPages, operations and endPages are not allowed to be all null or empty!- Parameters:
initialData- the initial dataset to be plotted on the first page of the wizard. May be set to nullstartPages- a list of pages that will make up the leading block of the wizard.operations- a list of operations for which IOperationSetupWizardPages will be generated and added to the wizard.endPages- a list of pages that will make up the terminating block of the wizard.- Returns:
- an IOperationModelWizard containing the requested pages
-
getWizard
IOperationModelWizard getWizard(org.eclipse.january.dataset.IDataset initialData, List<IOperationSetupWizardPage> startPages, String operationsFile, List<IOperationSetupWizardPage> endPages) Get an IOperationModelWizard for the provided pages and/or operations startPages and endPages are not allowed to be all null or empty!- Parameters:
initialData- the initial dataset to be plotted on the first page of the wizard. May be set to nullstartPages- a list of pages that will make up the leading block of the wizard.operationsFile- a NXS file containing an operations pipeline for which IOperationSetupWizardPages will be generated and added to the wizard.endPages- a list of pages that will make up the terminating block of the wizard.- Returns:
- an IOperationModelWizard containing the requested pages
-
runProcessingWithUI
void runProcessingWithUI(IOperation[] operations, SliceFromSeriesMetadata metadata, ProcessingOutputType outputType)
-