public class LicenseSection extends LocalizedSection<DescriptionModel>
mCurrentLocale| Constructor and Description |
|---|
LicenseSection(org.eclipse.swt.widgets.Composite pParent,
DescriptionFormPage pPage,
org.eclipse.core.resources.IProject pProject) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLocale(java.util.Locale pLocale)
A locale has been added.
|
protected void |
createControls(org.eclipse.ui.forms.widgets.FormToolkit pToolkit,
org.eclipse.swt.widgets.Composite pParent)
Create the localized controls in the given parent.
|
void |
deleteLocale(java.util.Locale pLocale)
A locale has been deleted.
|
void |
loadData()
Load the data from the model into the non-localized controls.
|
void |
selectLocale(java.util.Locale pLocale)
The locale selection has changed.
|
getModel, isDirty, modelChanged, modelSaved, setModelexpansionStateChanged, expansionStateChanging, getSection, hookListeners, setFocuspublic LicenseSection(org.eclipse.swt.widgets.Composite pParent,
DescriptionFormPage pPage,
org.eclipse.core.resources.IProject pProject)
pParent - the parent composite where to add the sectionpPage - the parent pagepProject - the project containing the description.xml filepublic void loadData()
loadData in class AbstractSection<DescriptionModel>protected void createControls(org.eclipse.ui.forms.widgets.FormToolkit pToolkit,
org.eclipse.swt.widgets.Composite pParent)
createControls in class LocalizedSection<DescriptionModel>pToolkit - the toolkit to use for the controls creationpParent - the parent to use for the new controls.public void addLocale(java.util.Locale pLocale)
pLocale - the added localepublic void deleteLocale(java.util.Locale pLocale)
pLocale - the deleted localepublic void selectLocale(java.util.Locale pLocale)
selectLocale in interface ILocaleListenerselectLocale in class LocalizedSection<DescriptionModel>pLocale - the new locale to use.