Package com._1c.g5.v8.dt.ui.wizards
Class DtNewWizardPage<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>
 
 
 
- 
- All Implemented Interfaces:
- IDtNewWizardPage<M>,- org.eclipse.jface.dialogs.IDialogPage,- org.eclipse.jface.dialogs.IMessageProvider,- org.eclipse.jface.wizard.IWizardPage
 - Direct Known Subclasses:
- DtAefNewWizardPage
 
 public abstract class DtNewWizardPage<M extends org.eclipse.emf.ecore.EObject> extends org.eclipse.jface.wizard.WizardPage implements IDtNewWizardPage<M> Base class for all DT model-related wizard pages.
- 
- 
Constructor SummaryConstructors Constructor Description DtNewWizardPage(String pageName)Instantiates a new DT wizard page.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply()Applies page changes to the context, called every time when the page is about to become hidden.voidcreateControl(org.eclipse.swt.widgets.Composite parent)voiddispose()voidfinish(org.eclipse.core.runtime.IProgressMonitor monitor)Finishes the page, called at the wizard work end.protected IDtNewWizardContext<M>getContext()Returns the DT wizard contenxt, provided by the owner DT wizard.protected org.eclipse.core.databinding.DataBindingContextgetDataBindingContext()Returns the wizard page databinding context.protected StringgetHelpContextId()Returns help context id to bind help to.voidinitialize(IDtNewWizardContext<M> context)Initializes the page, called once at wizard creation.voidonParentChanged()Handles the situation when the parent object of the wizard was changed.voidrefresh()Refreshes the page, called every time when the page is about to become visible.- 
Methods inherited from class org.eclipse.jface.wizard.WizardPagecanFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 - 
Methods inherited from class org.eclipse.jface.dialogs.DialogPageconvertHeightInCharsToPixels, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPagegetControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
 - 
Methods inherited from interface com._1c.g5.v8.dt.ui.wizards.IDtNewWizardPagecreatePageControls
 
- 
 
- 
- 
- 
Constructor Detail- 
DtNewWizardPagepublic DtNewWizardPage(String pageName) Instantiates a new DT wizard page.- Parameters:
- pageName- the page name, cannot be- null
 
 
- 
 - 
Method Detail- 
createControlpublic void createControl(org.eclipse.swt.widgets.Composite parent) - Specified by:
- createControlin interface- org.eclipse.jface.dialogs.IDialogPage
 
 - 
initializepublic void initialize(IDtNewWizardContext<M> context) Initializes the page, called once at wizard creation. Wizard context and page controls are already available at this time.Page may use the given wizard context to work with the creating model instance or to manage wizard state. - Specified by:
- initializein interface- IDtNewWizardPage<M extends org.eclipse.emf.ecore.EObject>
- Parameters:
- context- the DT wizard context to use by the page, cannot- null
 
 - 
refreshpublic void refresh() Refreshes the page, called every time when the page is about to become visible.- Specified by:
- refreshin interface- IDtNewWizardPage<M extends org.eclipse.emf.ecore.EObject>
 
 - 
applypublic void apply() Applies page changes to the context, called every time when the page is about to become hidden.- Specified by:
- applyin interface- IDtNewWizardPage<M extends org.eclipse.emf.ecore.EObject>
 
 - 
finishpublic void finish(org.eclipse.core.runtime.IProgressMonitor monitor) Finishes the page, called at the wizard work end.- Specified by:
- finishin interface- IDtNewWizardPage<M extends org.eclipse.emf.ecore.EObject>
- Parameters:
- monitor- the monitor to report progress to, cannot- null
 
 - 
disposepublic void dispose() - Specified by:
- disposein interface- org.eclipse.jface.dialogs.IDialogPage
- Overrides:
- disposein class- org.eclipse.jface.dialogs.DialogPage
 
 - 
onParentChangedpublic void onParentChanged() Description copied from interface:IDtNewWizardPageHandles the situation when the parent object of the wizard was changed.- Specified by:
- onParentChangedin interface- IDtNewWizardPage<M extends org.eclipse.emf.ecore.EObject>
 
 - 
getHelpContextIdprotected String getHelpContextId() Returns help context id to bind help to.- Returns:
- help context id or nullif no help is needed
 
 - 
getDataBindingContextprotected org.eclipse.core.databinding.DataBindingContext getDataBindingContext() Returns the wizard page databinding context.- Returns:
- the wizard page data binding context, never null
 
 - 
getContextprotected IDtNewWizardContext<M> getContext() Returns the DT wizard contenxt, provided by the owner DT wizard.- Returns:
- the wizard context, never null
 
 
- 
 
-