org.herac.tuxguitar.gui.system.config
Class TGConfigEditor

java.lang.Object
  extended by org.herac.tuxguitar.gui.system.config.TGConfigEditor

public class TGConfigEditor
extends java.lang.Object


Field Summary
protected  boolean accepted
           
protected  TGConfigManager config
           
protected  java.util.Properties defaults
           
protected  Shell dialog
           
protected  java.util.List options
           
protected  java.util.List runnables
           
 
Constructor Summary
TGConfigEditor()
           
 
Method Summary
 void addSyncThread(java.lang.Runnable runnable)
           
protected  void applyConfig(boolean force)
           
protected  void dispose()
           
protected  GridData getButtonData()
           
 TGConfigManager getConfig()
           
 java.util.Properties getDefaults()
           
 Shell getDialog()
           
 TablatureEditor getEditor()
           
 GridData makeGridData(int with, int height, int minWith, int minHeight)
           
 void pack()
           
 void select(Option option)
           
protected  void setDefaults()
           
 void showDialog(Shell shell)
           
protected  void updateOptions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dialog

protected Shell dialog

config

protected TGConfigManager config

options

protected java.util.List options

defaults

protected java.util.Properties defaults

accepted

protected boolean accepted

runnables

protected java.util.List runnables
Constructor Detail

TGConfigEditor

public TGConfigEditor()
Method Detail

showDialog

public void showDialog(Shell shell)

pack

public void pack()

getButtonData

protected GridData getButtonData()

makeGridData

public GridData makeGridData(int with,
                             int height,
                             int minWith,
                             int minHeight)

select

public void select(Option option)

updateOptions

protected void updateOptions()

setDefaults

protected void setDefaults()

applyConfig

protected void applyConfig(boolean force)

dispose

protected void dispose()

getDefaults

public java.util.Properties getDefaults()

getConfig

public TGConfigManager getConfig()

getEditor

public TablatureEditor getEditor()

getDialog

public Shell getDialog()

addSyncThread

public void addSyncThread(java.lang.Runnable runnable)