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 Summary
FieldsFields inherited from class com.e1c.langtool.v8.dt.ui.projecteditor.AbstractSettingsWizard
attributesMapFields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE -
Constructor Summary
ConstructorsConstructorDescriptionTranslatedProjectWizard(IResourceLookup resourceLookup) Instantiates a new translated project wizard.TranslatedProjectWizard(org.eclipse.emf.ecore.EStructuralFeature[] features, IResourceLookup resourceLookup) Instantiates a new translated project wizard. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPages()protected TranslatedProjectWizardPagecreateTranslatedProjectWizardPage(org.eclipse.core.databinding.observable.map.IObservableMap<Object, Object> attributesMap) voidinit(ISettingsEditingContext editingContext) Inits the instace of wizard with new translated project to add into editing context.voidinit(ISettingsEditingContext editingContext, V8TranslatedProject project) Inits the wizard to edit existing translated project.voidinit(org.eclipse.ui.IWorkbench workbench, IStructuredSelection selection) booleanvoidsetProject(V8TranslatedProject project) protected voidMethods inherited from class com.e1c.langtool.v8.dt.ui.projecteditor.AbstractSettingsWizard
getEditingContext, setEditingContext, updateAttributeMap, updateObjectMethods 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, setWindowTitleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Field Details
-
INTERFACE_LANGUAGES
- See Also:
-
isNew
protected boolean isNew
-
-
Constructor Details
-
TranslatedProjectWizard
Instantiates a new translated project wizard.- Parameters:
resourceLookup- the resource lookup, cannot benull.v8ProjectManager- the v8 project manager, cannot benull.
-
TranslatedProjectWizard
public TranslatedProjectWizard(org.eclipse.emf.ecore.EStructuralFeature[] features, IResourceLookup resourceLookup) Instantiates a new translated project wizard.- Parameters:
features- the features, cannot benull.resourceLookup- the resource lookup, cannot benull.
-
-
Method Details
-
init
Inits the wizard to edit existing translated project.- Parameters:
editingContext- the editing context, cannot benull.language- the language, cannot benull.
-
init
Inits the instace of wizard with new translated project to add into editing context.- Parameters:
editingContext- the editing context to add new language, cannot benull.
-
addPages
public void addPages()- Specified by:
addPagesin interfaceorg.eclipse.jface.wizard.IWizard- Overrides:
addPagesin classorg.eclipse.jface.wizard.Wizard
-
createTranslatedProjectWizardPage
protected TranslatedProjectWizardPage createTranslatedProjectWizardPage(org.eclipse.core.databinding.observable.map.IObservableMap<Object, Object> attributesMap) -
performFinish
public boolean performFinish()- Specified by:
performFinishin interfaceorg.eclipse.jface.wizard.IWizard- Specified by:
performFinishin classorg.eclipse.jface.wizard.Wizard
-
getProject
-
setProject
-
updateAttributeMap
-
init
- Specified by:
initin interfaceorg.eclipse.ui.IWorkbenchWizard
-