package imagej2.plugin;

import java.util.List;

public class PluginEntry {

	private String pluginClass;
	private List<String> parentMenu;
	private String label;
	
	public void setPluginClass(String pluginClass) {
		this.pluginClass = pluginClass;
	}
	public String getPluginClass() {
		return pluginClass;
	}
	public void setParentMenu(List<String> parentMenu) {
		this.parentMenu = parentMenu;
	}
	public List<String> getParentMenu() {
		return parentMenu;
	}
	public void setLabel(String label) {
		this.label = label;
	}
	public String getLabel() {
		return label;
	}
	
	public PluginEntry( String pluginClass, List<String> parentMenu, String label)
	{
		this.pluginClass = pluginClass;
		this.parentMenu = parentMenu;
		this.label = label;
	}
	
	
	
}

@@ -745,13 +745,297 @@
 ;%0A%09%7D%0A%09%0A%09
+@Override%0A%09public String toString() %7B%0A%09%09StringBuilder sb = new StringBuilder();%0A%09%09sb.append(pluginClass);%0A%09%09sb.append(%22 %5Bmenu = %22);%0A%09%09for (String menuItem : parentMenu) %7B%0A%09%09%09sb.append(menuItem);%0A%09%09%09sb.append(%22 %3E %22);%0A%09%09%7D%0A%09%09sb.append(label);%0A%09%09sb.append(%22%5D%22);%0A%09%09return sb.toString();%0A%09%7D
 %0A%09%0A%7D%0A

Make PluginEntry.toString() more useful.