Class GenerateTranslationStringsWizard

java.lang.Object
org.eclipse.jface.wizard.Wizard
com.e1c.langtool.ui.generatestring.GenerateTranslationStringsWizard
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider, org.eclipse.jface.wizard.IWizard
Direct Known Subclasses:
TranslatedObjectImportWizard, V8ProjectGenerateTranslationStringsWizard

public class GenerateTranslationStringsWizard extends org.eclipse.jface.wizard.Wizard implements org.eclipse.jface.wizard.IWizard
The Generate Translation Strings Wizard collects source strings from the project and stores in selected translation storage.
  • Field Details

  • Constructor Details

    • GenerateTranslationStringsWizard

      public GenerateTranslationStringsWizard()
  • Method Details

    • addPages

      public void addPages()
      Specified by:
      addPages in interface org.eclipse.jface.wizard.IWizard
      Overrides:
      addPages in class org.eclipse.jface.wizard.Wizard
    • canFinish

      public boolean canFinish()
      Specified by:
      canFinish in interface org.eclipse.jface.wizard.IWizard
      Overrides:
      canFinish in class org.eclipse.jface.wizard.Wizard
    • performFinish

      public boolean performFinish()
      Specified by:
      performFinish in interface org.eclipse.jface.wizard.IWizard
      Specified by:
      performFinish in class org.eclipse.jface.wizard.Wizard
    • init

      public void init(org.eclipse.core.resources.IProject project, Collection<TranslationSource> projectObjects)
      Inits the wizard.
      Parameters:
      project - the project, cannot be null.
      projectObjects - the project objects, cannot be null.
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.eclipse.jface.wizard.IWizard
      Overrides:
      dispose in class org.eclipse.jface.wizard.Wizard
    • getDialogSettings

      public org.eclipse.jface.dialogs.IDialogSettings getDialogSettings()
      Specified by:
      getDialogSettings in interface org.eclipse.jface.wizard.IWizard
      Overrides:
      getDialogSettings in class org.eclipse.jface.wizard.Wizard
    • createGenerator

      protected void createGenerator(Collection<TranslationSource> projectObjects)
    • getPreviewStringsPage

      protected PreviewStringsWizardPage getPreviewStringsPage()
    • getSettingsPage

      protected GenerateSettingsWizardPage getSettingsPage()
    • getFilterSettingsPage

      protected FilterSettingsWizardPage getFilterSettingsPage()
    • collectAndSaveTranslationStrings

      protected void collectAndSaveTranslationStrings(org.eclipse.core.runtime.IProgressMonitor monitor)
      Collects and saves translation strings.
      Parameters:
      monitor - the progress monitor, cannot be null