org.herac.tuxguitar.gui.system.keybindings.editor
Class KeyBindingEditor

java.lang.Object
  extended by org.herac.tuxguitar.gui.system.keybindings.editor.KeyBindingEditor

public class KeyBindingEditor
extends java.lang.Object


Field Summary
protected  Shell dialog
           
protected  java.util.List items
           
protected  Table table
           
 
Constructor Summary
KeyBindingEditor()
           
 
Method Summary
protected  int adjustWidth(TableColumn column, int defaultWidth)
           
 boolean exists(KeyBinding kb)
           
protected  GridData getButtonData()
           
 Shell getDialog()
           
protected  TableItem getSelectedItem()
           
 boolean isDisposed()
           
protected  void loadAvailableActionKeyBindings()
           
protected  void loadEnableActionKeyBindings(java.util.List list)
           
protected  void loadTableItemLabel(TableItem item)
           
protected  void removeKeyBindingAction(KeyBinding kb)
           
protected  void save()
           
 void show(Shell parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dialog

protected Shell dialog

table

protected Table table

items

protected java.util.List items
Constructor Detail

KeyBindingEditor

public KeyBindingEditor()
Method Detail

show

public void show(Shell parent)

adjustWidth

protected int adjustWidth(TableColumn column,
                          int defaultWidth)

getButtonData

protected GridData getButtonData()

loadTableItemLabel

protected void loadTableItemLabel(TableItem item)

loadAvailableActionKeyBindings

protected void loadAvailableActionKeyBindings()

loadEnableActionKeyBindings

protected void loadEnableActionKeyBindings(java.util.List list)

removeKeyBindingAction

protected void removeKeyBindingAction(KeyBinding kb)

getSelectedItem

protected TableItem getSelectedItem()

exists

public boolean exists(KeyBinding kb)

save

protected void save()

getDialog

public Shell getDialog()

isDisposed

public boolean isDisposed()