Class ReleaseWizard

  • All Implemented Interfaces:
    org.eclipse.jface.window.IShellProvider, org.eclipse.jface.wizard.IWizard

    public class ReleaseWizard
    extends org.eclipse.jface.wizard.Wizard
    Wizard to update the ns uris of multiple packages.
    Author:
    jfaltermeier
    • Field Summary

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

        DEFAULT_IMAGE
    • Constructor Summary

      Constructors 
      Constructor Description
      ReleaseWizard​(List<org.eclipse.emf.ecore.EPackage> rootPackages, Set<org.eclipse.emf.ecore.EPackage> changedPackages)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addPages()  
      String getSource​(org.eclipse.emf.ecore.EPackage ePackage)
      Returns the source label to replace.
      String getTarget​(org.eclipse.emf.ecore.EPackage ePackage)
      Returns the target label which replaces the source label.
      String getWindowTitle()  
      boolean performFinish()  
      boolean updatePackage​(org.eclipse.emf.ecore.EPackage ePackage)
      Whether the ns uri of the given EPackage should be updated.
      • Methods inherited from class org.eclipse.jface.wizard.Wizard

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

      • ReleaseWizard

        public ReleaseWizard​(List<org.eclipse.emf.ecore.EPackage> rootPackages,
                             Set<org.eclipse.emf.ecore.EPackage> changedPackages)
    • Method Detail

      • getWindowTitle

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

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

        public boolean updatePackage​(org.eclipse.emf.ecore.EPackage ePackage)
        Whether the ns uri of the given EPackage should be updated.
      • getSource

        public String getSource​(org.eclipse.emf.ecore.EPackage ePackage)
        Returns the source label to replace.
      • getTarget

        public String getTarget​(org.eclipse.emf.ecore.EPackage ePackage)
        Returns the target label which replaces the source label.
      • performFinish

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