org.herac.tuxguitar.gui.system.config.items
Class LanguageOption

java.lang.Object
  extended by SelectionAdapter
      extended by org.herac.tuxguitar.gui.system.config.items.Option
          extended by org.herac.tuxguitar.gui.system.config.items.LanguageOption

public class LanguageOption
extends Option


Field Summary
protected  TableColumn column
           
protected  boolean initialized
           
protected  Table table
           
 
Fields inherited from class org.herac.tuxguitar.gui.system.config.items.Option
DEFAULT_INDENT
 
Constructor Summary
LanguageOption(TGConfigEditor configEditor, ToolBar toolBar, Composite parent)
           
 
Method Summary
 void applyConfig(boolean force)
           
 Point computeSize()
           
 void createOption()
           
protected  java.util.List getLanguageItems(java.lang.String[] languages)
           
protected  void loadConfig()
           
protected  void loadTableItem(java.lang.String text, java.lang.String data, boolean selected)
           
 void updateConfig()
           
 void updateDefaults()
           
 
Methods inherited from class org.herac.tuxguitar.gui.system.config.items.Option
addSyncThread, computeSize, dispose, getComposite, getConfig, getDefaults, getDisplay, getEditor, getGroupData, getShell, getTabbedData, getTabbedData, getTabbedData, getTabbedData, getTabbedData, getToolItem, isDisposed, loadCursor, makeGridData, makeGridData, pack, setVisible, showImageLabel, showLabel, showLabel, showLabel, widgetSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

initialized

protected boolean initialized

table

protected Table table

column

protected TableColumn column
Constructor Detail

LanguageOption

public LanguageOption(TGConfigEditor configEditor,
                      ToolBar toolBar,
                      Composite parent)
Method Detail

createOption

public void createOption()
Specified by:
createOption in class Option

loadTableItem

protected void loadTableItem(java.lang.String text,
                             java.lang.String data,
                             boolean selected)

getLanguageItems

protected java.util.List getLanguageItems(java.lang.String[] languages)

loadConfig

protected void loadConfig()

updateConfig

public void updateConfig()
Specified by:
updateConfig in class Option

updateDefaults

public void updateDefaults()
Specified by:
updateDefaults in class Option

applyConfig

public void applyConfig(boolean force)
Specified by:
applyConfig in class Option

computeSize

public Point computeSize()
Overrides:
computeSize in class Option