Class TranslatedProjectWizard

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

public class TranslatedProjectWizard extends AbstractSettingsWizard implements org.eclipse.ui.INewWizard
  • Field Details

  • Constructor Details

    • TranslatedProjectWizard

      @Inject public TranslatedProjectWizard(IResourceLookup resourceLookup)
      Instantiates a new translated project wizard.
      Parameters:
      resourceLookup - the resource lookup, cannot be null.
      v8ProjectManager - the v8 project manager, cannot be null.
    • TranslatedProjectWizard

      public TranslatedProjectWizard(org.eclipse.emf.ecore.EStructuralFeature[] features, IResourceLookup resourceLookup)
      Instantiates a new translated project wizard.
      Parameters:
      features - the features, cannot be null.
      resourceLookup - the resource lookup, cannot be null.
  • Method Details

    • init

      public void init(ISettingsEditingContext editingContext, V8TranslatedProject project)
      Inits the wizard to edit existing translated project.
      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 translated project 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
    • createTranslatedProjectWizardPage

      protected TranslatedProjectWizardPage createTranslatedProjectWizardPage(org.eclipse.core.databinding.observable.map.IObservableMap<Object,Object> attributesMap)
    • performFinish

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

      public V8TranslatedProject getProject()
    • setProject

      public void setProject(V8TranslatedProject project)
    • updateAttributeMap

      protected void updateAttributeMap(V8TranslatedProject object)
    • init

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