Class TomoConvertPage

java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.dawb.common.ui.wizard.ResourceChoosePage
org.dawnsci.conversion.ui.pages.TomoConvertPage
All Implemented Interfaces:
IConversionWizardPage, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public final class TomoConvertPage extends ResourceChoosePage implements IConversionWizardPage
  • Constructor Details

    • TomoConvertPage

      public TomoConvertPage()
  • Method Details

    • createContentBeforeFileChoose

      public void createContentBeforeFileChoose(org.eclipse.swt.widgets.Composite container)
      Overrides:
      createContentBeforeFileChoose in class ResourceChoosePage
      Parameters:
      container - with a 4-column grid layout
    • createContentAfterFileChoose

      protected void createContentAfterFileChoose(org.eclipse.swt.widgets.Composite container)
      Overrides:
      createContentAfterFileChoose in class ResourceChoosePage
      Parameters:
      container - with a 4-column grid layout
    • isOpen

      public boolean isOpen()
      Description copied from interface: IConversionWizardPage
      Should open the converted file after the conversion has happened.
      Specified by:
      isOpen in interface IConversionWizardPage
      Returns:
    • pathChanged

      protected void pathChanged()
      Checks the path is ok.
      Overrides:
      pathChanged in class ResourceChoosePage
    • isPageComplete

      public boolean isPageComplete()
      Specified by:
      isPageComplete in interface org.eclipse.jface.wizard.IWizardPage
      Overrides:
      isPageComplete in class ResourceChoosePage
    • getContext

      public IConversionContext getContext()
      Specified by:
      getContext in interface IConversionWizardPage
      Returns:
      the context, including any modifications (which includes path changes and the setting of user objects)
    • setContext

      public void setContext(IConversionContext context)
      Specified by:
      setContext in interface IConversionWizardPage
      Parameters:
      context -
    • getNamesOfSupportedRank

      protected void getNamesOfSupportedRank() throws Exception
      Throws:
      Exception
    • getActiveDatasets

      protected List<String> getActiveDatasets(IConversionContext context, org.eclipse.core.runtime.IProgressMonitor monitor) throws Exception
      Description copied from class: ResourceChoosePage
      All datasets of the right rank in the conversion file.
      Overrides:
      getActiveDatasets in class ResourceChoosePage
      Returns:
      Throws:
      Exception
    • getNextPage

      public org.eclipse.jface.wizard.IWizardPage getNextPage()
      Specified by:
      getNextPage in interface org.eclipse.jface.wizard.IWizardPage
      Overrides:
      getNextPage in class org.eclipse.jface.wizard.WizardPage
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.eclipse.jface.dialogs.IDialogPage
      Overrides:
      dispose in class org.eclipse.jface.dialogs.DialogPage