public class GeographicalNamePage extends HaleWizardPage<AbstractGenericFunctionWizard<?,?>> implements GeographicalNameFunction, ParameterPage, GeographicalNamePageConstants
ID, INSPIRE_IDENTIFIER_PREFIX, PROPERTY_GRAMMA_GENDER, PROPERTY_GRAMMA_NUMBER, PROPERTY_LANGUAGE, PROPERTY_NAMESTATUS, PROPERTY_NATIVENESS, PROPERTY_PRONUNCIATIONIPA, PROPERTY_PRONUNCIATIONSOUNDLINK, PROPERTY_SCRIPT, PROPERTY_SOURCEOFNAME, PROPERTY_TEXT, PROPERTY_TRANSLITERATION
GENDER_NULL_VAUE_MENU_ENTRY, GRAMMATICAL_GENDER_LABEL_TEXT, GRAMMATICAL_NUMBER_LABEL_TEXT, IPA_LABEL_TEXT, ISO_CODE_ENG, LANGUAGE_LABEL_TEXT, NAME_STATUS_LABEL_TEXT, NATIVENESS_LABEL_TEXT, NUMBER_NULL_VALUE_MENU_ENTRY, PRONOUNCIATION_GRPOUP_TEXT, SCRIPT_LABEL_TEXT, SOUNDLINK_LABEL_TEXT, SOURCE_OF_NAME_LABEL_TEXT, SOURCE_OF_NAME_PROMT, SPELLING_GROUP_TEXT, SPELLING_TEXT_LABEL_TEXT, TRANSLITERATION_LABEL_TEXT
Constructor and Description |
---|
GeographicalNamePage()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
createContent(org.eclipse.swt.widgets.Composite parent)
Create the page content
|
protected SpellingType |
getActiveSpelling(PropertyDefinition property)
Returns a spelling assigned to source attribute name
|
com.google.common.collect.ListMultimap<String,ParameterValue> |
getConfiguration()
Returns the configuration of the parameters this page is responsible for.
|
String |
getGender() |
String |
getIpa() |
String |
getLanguage() |
String |
getNameStatus() |
String |
getNativeness() |
String |
getNumber() |
String |
getSound() |
String |
getSourceOfName() |
ArrayList<SpellingType> |
getSpellings() |
protected void |
onShowPage(boolean firstShow)
Called when this page is shown
|
void |
setGender(String gender) |
void |
setIpa(String ipa) |
void |
setLanguage(String language) |
void |
setNameStatus(String nameStatus) |
void |
setNativeness(String nativeness) |
void |
setNumber(String number) |
void |
setParameter(Set<FunctionParameter> params,
com.google.common.collect.ListMultimap<String,ParameterValue> initialValues)
Sets the parameters this page is responsible for and their initial
values.
|
void |
setSound(String sound) |
void |
setSourceOfName(String sourceOfName) |
void |
setSpellings(ArrayList<SpellingType> spellings) |
createControl, dispose, getHelpContext, getWizard, performHelp
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, 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, setButtonLayoutData, setControl, setMessage, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
protected void onShowPage(boolean firstShow)
HaleWizardPage
onShowPage
in class HaleWizardPage<AbstractGenericFunctionWizard<?,?>>
firstShow
- specifies if it is the first time the page is shown
since its creationHaleWizardPage.onShowPage(boolean)
public void setParameter(Set<FunctionParameter> params, com.google.common.collect.ListMultimap<String,ParameterValue> initialValues)
ParameterPage
setParameter
in interface ParameterPage
params
- the parameters this page is responsible forinitialValues
- initial values of those parameters, may be
null
, should not be changedParameterPage.setParameter(Set, ListMultimap)
public com.google.common.collect.ListMultimap<String,ParameterValue> getConfiguration()
ParameterPage
getConfiguration
in interface ParameterPage
ParameterPage.getConfiguration()
protected void createContent(org.eclipse.swt.widgets.Composite parent)
HaleWizardPage
createContent
in class HaleWizardPage<AbstractGenericFunctionWizard<?,?>>
parent
- the page composite, implementors may assign a custom layout
to this compositeHaleWizardPage.createContent(org.eclipse.swt.widgets.Composite)
protected SpellingType getActiveSpelling(PropertyDefinition property)
property
- the assigned source property definitionpublic String getIpa()
public void setIpa(String ipa)
ipa
- the ipa to setpublic String getLanguage()
public void setLanguage(String language)
language
- the language to setpublic String getSourceOfName()
public void setSourceOfName(String sourceOfName)
sourceOfName
- the sourceOfName to setpublic String getNameStatus()
public void setNameStatus(String nameStatus)
nameStatus
- the nameStatus to setpublic String getNativeness()
public void setNativeness(String nativeness)
nativeness
- the nativeness to setpublic String getGender()
public void setGender(String gender)
gender
- the gender to setpublic String getNumber()
public void setNumber(String number)
number
- the number to setpublic String getSound()
public void setSound(String sound)
sound
- the sound to setpublic ArrayList<SpellingType> getSpellings()
public void setSpellings(ArrayList<SpellingType> spellings)
spellings
- the spellings to setBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a