Class TranslateLanguageWizard

java.lang.Object
org.eclipse.jface.wizard.Wizard
com.e1c.langtool.v8.dt.ui.projecteditor.AbstractSettingsWizard
com.e1c.langtool.v8.dt.ui.projecteditor.TranslateLanguageWizard
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider, org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard

public class TranslateLanguageWizard extends AbstractSettingsWizard implements org.eclipse.ui.INewWizard
  • Field Summary

    Fields inherited from class com.e1c.langtool.v8.dt.ui.projecteditor.AbstractSettingsWizard

    attributesMap

    Fields inherited from class org.eclipse.jface.wizard.Wizard

    DEFAULT_IMAGE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
    void
    init(ISettingsEditingContext editingContext)
    Inits the instace of wizard with new language to add into editing context.
    void
    Inits the wizard to edit existing language.
    void
    init(org.eclipse.ui.IWorkbench workbench, IStructuredSelection selection)
     
    boolean
     
    void
     
    void
    setProject(org.eclipse.core.resources.IProject project)
     

    Methods inherited from class com.e1c.langtool.v8.dt.ui.projecteditor.AbstractSettingsWizard

    getEditingContext, setEditingContext, updateAttributeMap, updateObject

    Methods inherited from class org.eclipse.jface.wizard.Wizard

    addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getMinimumWizardSize, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.jface.wizard.IWizard

    canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getMinimumWizardSize, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
  • Constructor Details

    • TranslateLanguageWizard

      public TranslateLanguageWizard()
  • Method Details

    • init

      public void init(ISettingsEditingContext editingContext, V8TranslateLanguage language)
      Inits the wizard to edit existing language.
      Parameters:
      editingContext - the editing context, cannot be null.
      language - the language, cannot be null.
    • init

      public void init(ISettingsEditingContext editingContext)
      Inits the instace of wizard with new language to add into editing context.
      Parameters:
      editingContext - the editing context to add new language, cannot be null.
    • addPages

      public void addPages()
      Specified by:
      addPages in interface org.eclipse.jface.wizard.IWizard
      Overrides:
      addPages 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
    • getLanguage

      public V8TranslateLanguage getLanguage()
    • setLanguage

      public void setLanguage(V8TranslateLanguage language)
    • init

      public void init(org.eclipse.ui.IWorkbench workbench, IStructuredSelection selection)
      Specified by:
      init in interface org.eclipse.ui.IWorkbenchWizard
    • setProject

      public void setProject(org.eclipse.core.resources.IProject project)