public class VocabularyTermWizard<T extends eu.etaxonomy.cdm.model.common.DefinedTermBase>
extends org.eclipse.jface.wizard.Wizard
implements eu.etaxonomy.cdm.api.conversation.IConversationEnabled
VocabularyTermWizard class.
Constructor and Description |
---|
VocabularyTermWizard(java.lang.Class<T> vocabularyClass,
eu.etaxonomy.cdm.api.conversation.ConversationHolder conversation)
Constructor for VocabularyTermWizard.
|
VocabularyTermWizard(java.lang.Class<T> vocabularyClass,
T selectedTerm,
eu.etaxonomy.cdm.api.conversation.ConversationHolder conversation)
Constructor for VocabularyTermWizard.
|
Modifier and Type | Method and Description |
---|---|
void |
addPages() |
eu.etaxonomy.cdm.api.conversation.ConversationHolder |
getConversationHolder() |
eu.etaxonomy.cdm.model.common.Representation |
getRepresentation() |
T |
getTerm()
Getter for the field
term . |
java.lang.Class<T> |
getTermClass()
Getter for the field
termClass . |
boolean |
isEditMode()
isEditMode
|
boolean |
performFinish() |
void |
setTerm(java.lang.String text,
java.lang.String label,
java.lang.String abbreviatedLabel)
Setter for the fields
term . |
void |
setTerm(T term)
Setter for the field
term . |
void |
update(eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap changeEvents) |
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
public T extends eu.etaxonomy.cdm.model.common.DefinedTermBase term
public VocabularyTermWizard(java.lang.Class<T> vocabularyClass, eu.etaxonomy.cdm.api.conversation.ConversationHolder conversation)
Constructor for VocabularyTermWizard.
vocabularyClass
- a Class
object.public void addPages()
addPages
in interface org.eclipse.jface.wizard.IWizard
addPages
in class org.eclipse.jface.wizard.Wizard
public boolean performFinish()
performFinish
in interface org.eclipse.jface.wizard.IWizard
performFinish
in class org.eclipse.jface.wizard.Wizard
public void setTerm(T term)
Setter for the field term
.
term
- a T object.public void setTerm(java.lang.String text, java.lang.String label, java.lang.String abbreviatedLabel)
Setter for the fields term
.
text
- label
- a String
object.abbreviatedLabel
- a String
object.public T getTerm()
Getter for the field term
.
public eu.etaxonomy.cdm.model.common.Representation getRepresentation()
public boolean isEditMode()
isEditMode
public java.lang.Class<T> getTermClass()
Getter for the field termClass
.
Class
object.public void update(eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap changeEvents)
update
in interface eu.etaxonomy.cdm.persistence.hibernate.ICdmPostDataChangeObserver
public eu.etaxonomy.cdm.api.conversation.ConversationHolder getConversationHolder()
getConversationHolder
in interface eu.etaxonomy.cdm.api.conversation.IConversationEnabled
Copyright © 2007-2018. All Rights Reserved.