1
package org.herac.tuxguitar.gui.tools.custom;
3
import java.util.ArrayList;
4
import java.util.Iterator;
7
public class TGCustomToolManager {
9
private static TGCustomToolManager instance;
13
public TGCustomToolManager(){
14
this.tools = new ArrayList();
17
public static TGCustomToolManager instance(){
19
instance = new TGCustomToolManager();
24
public void addCustomTool(TGCustomTool tool){
28
public void removeCustomTool(TGCustomTool tool){
29
this.tools.remove(tool);
32
public Iterator getCustomTools(){
33
return this.tools.iterator();