1
package org.herac.tuxguitar.gui.items;
3
import org.eclipse.swt.widgets.ToolBar;
4
import org.herac.tuxguitar.gui.TuxGuitar;
5
import org.herac.tuxguitar.gui.editors.TablatureEditor;
7
public abstract class ToolItems implements ItemBase{
10
private boolean enabled;
12
public ToolItems(String name){
17
public String getName(){
21
public boolean isEnabled() {
25
public void setEnabled(boolean enabled) {
26
this.enabled = enabled;
29
protected TablatureEditor getEditor(){
30
return TuxGuitar.instance().getTablatureEditor();
33
public abstract void showItems(ToolBar toolBar);