|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.rssowl.controller.properties.PropertyPage
net.sourceforge.rssowl.controller.properties.LanguageProperties
Class displays a PropertyPage to select the language used in RSSOwl
Field Summary | |
private Hashtable |
languages
|
private PreferencesDialog |
rssOwlPropertiesDialog
|
(package private) String |
selectedLanguage
|
Fields inherited from class net.sourceforge.rssowl.controller.properties.PropertyPage |
apply, composite, dialogFont, errorMessageLabel, parent, propertyChangeManager, restore, rssOwlGui |
Constructor Summary | |
LanguageProperties(org.eclipse.swt.widgets.Composite parent,
GUI rssOwlGui,
PreferencesDialog rssOwlPropertiesDialog)
Instatiate a new LanguageProperties PropertyPage |
Method Summary | |
void |
applyButtonPressed()
The apply button has been pressed |
protected void |
initComponents()
Init all components |
protected void |
restoreButtonPressed()
The restore button has been pressed |
private void |
setButtonState(String language)
Select one of the buttons in dependance of the selected language. |
void |
updatePropertiesChangeManager()
Update the temporary settings holder PropertiesChangeManager |
Methods inherited from class net.sourceforge.rssowl.controller.properties.PropertyPage |
createButtons, createComposite, dispose, getPropertyChangeManager, initPropertyChangeManager, setApplyButtonState, setButtonLayoutData, setButtonLayoutData, setErrorMessage, setRestoreButtonState, setSuccessMessage, setWarningMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Hashtable languages
private PreferencesDialog rssOwlPropertiesDialog
String selectedLanguage
Constructor Detail |
public LanguageProperties(org.eclipse.swt.widgets.Composite parent, GUI rssOwlGui, PreferencesDialog rssOwlPropertiesDialog)
parent
- Composite's parentrssOwlGui
- Access some methods from the maincontrollerrssOwlPropertiesDialog
- Access some methods from the opened prop.
dialogMethod Detail |
public void applyButtonPressed()
PropertyPage
applyButtonPressed
in class PropertyPage
PropertyPage.applyButtonPressed()
public void updatePropertiesChangeManager()
PropertyPage
updatePropertiesChangeManager
in class PropertyPage
PropertyPage.updatePropertiesChangeManager()
private void setButtonState(String language)
language
- Selected languageprotected void initComponents()
PropertyPage
initComponents
in class PropertyPage
PropertyPage.initComponents()
protected void restoreButtonPressed()
PropertyPage
restoreButtonPressed
in class PropertyPage
PropertyPage.restoreButtonPressed()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |