Class ReleaseWizard
- java.lang.Object
-
- org.eclipse.jface.wizard.Wizard
-
- org.eclipse.emf.edapt.history.instantiation.ui.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
-
-
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
-
-
-
-
Method Detail
-
getWindowTitle
public String getWindowTitle()
- Specified by:
getWindowTitle
in interfaceorg.eclipse.jface.wizard.IWizard
- Overrides:
getWindowTitle
in classorg.eclipse.jface.wizard.Wizard
-
addPages
public void addPages()
- Specified by:
addPages
in interfaceorg.eclipse.jface.wizard.IWizard
- Overrides:
addPages
in classorg.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 interfaceorg.eclipse.jface.wizard.IWizard
- Specified by:
performFinish
in classorg.eclipse.jface.wizard.Wizard
-
-