Class DtAefNewWizardPage<T extends IModel,M extends org.eclipse.emf.ecore.EObject>
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.wizard.WizardPage
-
- com._1c.g5.v8.dt.ui.wizards.DtNewWizardPage<M>
-
- com._1c.g5.v8.dt.md.ui.wizards.base.aef.DtAefNewWizardPage<T,M>
-
- Type Parameters:
M
- the type of the domain modelT
- the type of the AEF model
- All Implemented Interfaces:
IDtNewWizardPage<M>
,org.eclipse.jface.dialogs.IDialogPage
,org.eclipse.jface.dialogs.IMessageProvider
,org.eclipse.jface.wizard.IWizardPage
public abstract class DtAefNewWizardPage<T extends IModel,M extends org.eclipse.emf.ecore.EObject> extends DtNewWizardPage<M>
Base class for wizard pages that is constructed using AEF.
-
-
Field Summary
Fields Modifier and Type Field Description protected NewWizardPageComponent<T>
component
Page component
-
Constructor Summary
Constructors Constructor Description DtAefNewWizardPage(NewWizardPageComponent<T> component)
Creates a new wizard page.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
apply()
Applies page changes to the context, called every time when the page is about to become hidden.void
createPageControls(org.eclipse.swt.widgets.Composite container)
Creates page controls, called before the#initialize()
.void
dispose()
protected String
getHelpContextId()
Returns help context id to bind help to.DtAefNewWizard<?>
getWizard()
protected abstract void
initializeComponentModel(NewWizardPageComponent<T> component)
Initializes component with the model.void
refresh()
Refreshes the page, called every time when the page is about to become visible.-
Methods inherited from class com._1c.g5.v8.dt.ui.wizards.DtNewWizardPage
createControl, finish, getContext, getDataBindingContext, initialize, onParentChanged
-
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
-
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
component
protected final NewWizardPageComponent<T extends IModel> component
Page component
-
-
Constructor Detail
-
DtAefNewWizardPage
public DtAefNewWizardPage(NewWizardPageComponent<T> component)
Creates a new wizard page.- Parameters:
component
- the page component, cannot benull
-
-
Method Detail
-
getWizard
public DtAefNewWizard<?> getWizard()
- Specified by:
getWizard
in interfaceorg.eclipse.jface.wizard.IWizardPage
- Overrides:
getWizard
in classorg.eclipse.jface.wizard.WizardPage
-
createPageControls
public void createPageControls(org.eclipse.swt.widgets.Composite container)
Description copied from interface:IDtNewWizardPage
Creates page controls, called before the#initialize()
.- Parameters:
container
- the container to host controls, cannotnull
-
dispose
public void dispose()
Description copied from class:DtNewWizardPage
- Specified by:
dispose
in interfaceorg.eclipse.jface.dialogs.IDialogPage
- Overrides:
dispose
in classDtNewWizardPage<M extends org.eclipse.emf.ecore.EObject>
-
apply
public void apply()
Description copied from class:DtNewWizardPage
Applies page changes to the context, called every time when the page is about to become hidden.- Specified by:
apply
in interfaceIDtNewWizardPage<T extends IModel>
- Overrides:
apply
in classDtNewWizardPage<M extends org.eclipse.emf.ecore.EObject>
-
refresh
public void refresh()
Description copied from class:DtNewWizardPage
Refreshes the page, called every time when the page is about to become visible.- Specified by:
refresh
in interfaceIDtNewWizardPage<T extends IModel>
- Overrides:
refresh
in classDtNewWizardPage<M extends org.eclipse.emf.ecore.EObject>
-
getHelpContextId
protected String getHelpContextId()
Description copied from class:DtNewWizardPage
Returns help context id to bind help to.- Overrides:
getHelpContextId
in classDtNewWizardPage<M extends org.eclipse.emf.ecore.EObject>
- Returns:
- help context id or
null
if no help is needed
-
initializeComponentModel
protected abstract void initializeComponentModel(NewWizardPageComponent<T> component)
Initializes component with the model.- Parameters:
component
- the component.
-
-