ModelType - the type of the model object for the sectionpublic abstract class LocalizedSection<ModelType extends IModel> extends AbstractSection<ModelType> implements ILocaleListener
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Locale |
mCurrentLocale |
| Constructor and Description |
|---|
LocalizedSection(org.eclipse.swt.widgets.Composite pParent,
org.eclipse.ui.forms.editor.FormPage pPage,
int pStyle) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
createControls(org.eclipse.ui.forms.widgets.FormToolkit pToolkit,
org.eclipse.swt.widgets.Composite pParent)
Create the localized controls in the given parent.
|
void |
selectLocale(java.util.Locale pLocale)
The locale selection has changed.
|
getModel, isDirty, loadData, modelChanged, modelSaved, setModelexpansionStateChanged, expansionStateChanging, getSection, hookListeners, setFocuscommit, dispose, getManagedForm, initialize, isStale, markDirty, markStale, refresh, setFormInputclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLocale, deleteLocalepublic LocalizedSection(org.eclipse.swt.widgets.Composite pParent,
org.eclipse.ui.forms.editor.FormPage pPage,
int pStyle)
pParent - the parent composite where to add the sectionpPage - the page page of the sectionpStyle - a bit-or of the styles defined in Section classprotected abstract void createControls(org.eclipse.ui.forms.widgets.FormToolkit pToolkit,
org.eclipse.swt.widgets.Composite pParent)
pToolkit - the toolkit to use for the controls creationpParent - the parent to use for the new controls.public void selectLocale(java.util.Locale pLocale)
selectLocale in interface ILocaleListenerpLocale - the new locale to use.