public abstract class AbstractCdmEntityWizardPage<T>
extends org.eclipse.jface.wizard.WizardPage
implements eu.etaxonomy.cdm.api.conversation.IConversationEnabled, org.eclipse.jface.util.IPropertyChangeListener
Abstract AbstractCdmEntityWizardPage class.
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractCdmEntityWizardPage.WizardPageRootElement |
Modifier and Type | Field and Description |
---|---|
protected T |
entity |
protected CdmFormFactory |
formFactory |
Modifier | Constructor and Description |
---|---|
protected |
AbstractCdmEntityWizardPage(CdmFormFactory formFactory,
eu.etaxonomy.cdm.api.conversation.ConversationHolder conversation,
T entity)
Constructor for AbstractCdmEntityWizardPage.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkComplete()
Should check whether the wizard is complete in a sense that it contains
sane data.
|
void |
createControl(org.eclipse.swt.widgets.Composite parent) |
abstract AbstractCdmDetailElement<T> |
createElement(ICdmFormElement rootElement)
Creates the detail element for this wizard page
|
void |
dispose() |
eu.etaxonomy.cdm.api.conversation.ConversationHolder |
getConversationHolder()
getConversationHolder
|
AbstractCdmDetailElement<T> |
getDetailElement()
Getter for the field
detailElement . |
T |
getEntity()
Getter for the field
entity . |
void |
propertyChange(org.eclipse.jface.util.PropertyChangeEvent event) |
protected boolean |
titleCacheIsNotEmpty() |
void |
update(eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap changeEvents) |
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
protected CdmFormFactory formFactory
protected T entity
protected AbstractCdmEntityWizardPage(CdmFormFactory formFactory, eu.etaxonomy.cdm.api.conversation.ConversationHolder conversation, T entity)
Constructor for AbstractCdmEntityWizardPage.
T
- a T object.formFactory
- a CdmFormFactory
object.conversation
- a ConversationHolder
object.entity
- a T object.public void createControl(org.eclipse.swt.widgets.Composite parent)
createControl
in interface org.eclipse.jface.dialogs.IDialogPage
public T getEntity()
Getter for the field entity
.
public abstract AbstractCdmDetailElement<T> createElement(ICdmFormElement rootElement)
rootElement
- a ICdmFormElement
object.AbstractCdmDetailElement
object.public void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
propertyChange
in interface org.eclipse.jface.util.IPropertyChangeListener
protected void checkComplete()
protected boolean titleCacheIsNotEmpty()
public eu.etaxonomy.cdm.api.conversation.ConversationHolder getConversationHolder()
getConversationHolder
getConversationHolder
in interface eu.etaxonomy.cdm.api.conversation.IConversationEnabled
ConversationHolder
object.public void dispose()
dispose
in interface org.eclipse.jface.dialogs.IDialogPage
dispose
in class org.eclipse.jface.dialogs.DialogPage
public AbstractCdmDetailElement<T> getDetailElement()
Getter for the field detailElement
.
AbstractCdmDetailElement
object.public void update(eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap changeEvents)
update
in interface eu.etaxonomy.cdm.persistence.hibernate.ICdmPostDataChangeObserver
Copyright © 2007-2018. All Rights Reserved.