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

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.ToolBarsOption

public class ToolBarsOption
extends Option


Field Summary
protected  TableColumn column
           
protected  boolean initialized
           
protected  Button moveDown
           
protected  Button moveUp
           
protected  Table table
           
 
Fields inherited from class org.herac.tuxguitar.gui.system.config.items.Option
DEFAULT_INDENT
 
Constructor Summary
ToolBarsOption(TGConfigEditor configEditor, ToolBar toolBar, Composite parent)
           
 
Method Summary
 void applyConfig(boolean force)
           
 Point computeSize()
           
 void createOption()
           
protected  GridData getButtonData()
           
protected  void loadConfig()
           
protected  void loadItem(TableItem item, ToolItems data)
           
protected  void moveDown()
           
protected  void moveUp()
           
protected  void swapItems(TableItem item1, TableItem item2)
           
 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

moveUp

protected Button moveUp

moveDown

protected Button moveDown
Constructor Detail

ToolBarsOption

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

createOption

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

getButtonData

protected GridData getButtonData()

moveUp

protected void moveUp()

moveDown

protected void moveDown()

swapItems

protected void swapItems(TableItem item1,
                         TableItem item2)

loadItem

protected void loadItem(TableItem item,
                        ToolItems data)

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