Class ConversionChoicePage

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

public class ConversionChoicePage extends ResourceChoosePage implements IConversionWizardPage
  • Field Details

  • Constructor Details

  • Method Details

    • createContentBeforeFileChoose

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

      protected List<String> getSelectedFiles()
      Overridden so that filter can be applied.
      Overrides:
      getSelectedFiles in class ResourceChoosePage
      Returns:
    • createContentAfterFileChoose

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

      public org.eclipse.swt.graphics.Image getImage(IConversionScheme scheme)
      If there is an image in this directory called .png we return it here.
      Returns:
    • dispose

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

      protected void pathChanged()
      Description copied from class: ResourceChoosePage
      Call to update
      Overrides:
      pathChanged 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)
    • getScheme

      public IConversionScheme getScheme()
    • setContext

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

      public boolean isPageComplete()
      Specified by:
      isPageComplete in interface org.eclipse.jface.wizard.IWizardPage
      Overrides:
      isPageComplete in class ResourceChoosePage
    • 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: