public abstract class AbstractMatchingPreferences<T extends eu.etaxonomy.cdm.model.common.IdentifiableEntity> extends FieldEditorPreferencePageE4
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class<T> |
clazz |
protected java.util.Map<java.lang.String,org.eclipse.swt.widgets.Combo> |
matchModeCombos |
protected eu.etaxonomy.cdm.strategy.match.IMatchStrategy |
matchStrategy |
Constructor and Description |
---|
AbstractMatchingPreferences() |
Modifier and Type | Method and Description |
---|---|
protected void |
createFieldEditors() |
static java.util.List<java.lang.reflect.Field> |
getAllFields(java.util.List<java.lang.reflect.Field> fields,
java.lang.Class<?> type)
Get all declared fields including fields of the superclasses.
|
protected abstract eu.etaxonomy.cdm.strategy.match.IMatchStrategy |
getDefaultMatchStrategy()
Returns the default match strategy for the respective class
|
init
addField, adjustGridLayout, applyFont, checkState, createContents, dispose, getFieldEditorParent, initialize, performDefaults, performOk, propertyChange, setVisible
applyData, applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, noDefaultButton, okToLeave, performApply, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage
protected eu.etaxonomy.cdm.strategy.match.IMatchStrategy matchStrategy
protected java.lang.Class<T extends eu.etaxonomy.cdm.model.common.IdentifiableEntity> clazz
protected java.util.Map<java.lang.String,org.eclipse.swt.widgets.Combo> matchModeCombos
protected void createFieldEditors()
createFieldEditors
in class org.eclipse.jface.preference.FieldEditorPreferencePage
public static java.util.List<java.lang.reflect.Field> getAllFields(java.util.List<java.lang.reflect.Field> fields, java.lang.Class<?> type)
fields
- a List
object.type
- a Class
object.List
object.protected abstract eu.etaxonomy.cdm.strategy.match.IMatchStrategy getDefaultMatchStrategy() throws eu.etaxonomy.cdm.strategy.match.MatchException
IMatchStrategy
object.eu.etaxonomy.cdm.strategy.match.MatchException
- if any.Copyright © 2007-2018. All Rights Reserved.