package be.kuleuven.cs.distrinet.chameleon.ui.widget;



public interface WidgetFactory<W> {

	public SelectionController<? extends W> createCheckbox(String text, boolean initialState, CheckboxListener listener);
	
	public <V> SelectionController<? extends W> createTristateTree(TreeContentProvider<V> contentProvider, LabelProvider provider, TreeListener<V> listener);
}

@@ -48,16 +48,475 @@
 idget;%0A%0A
+import be.kuleuven.cs.distrinet.chameleon.ui.widget.checkbox.CheckboxListener;%0Aimport be.kuleuven.cs.distrinet.chameleon.ui.widget.list.ComboBoxController;%0Aimport be.kuleuven.cs.distrinet.chameleon.ui.widget.list.ComboBoxListener;%0Aimport be.kuleuven.cs.distrinet.chameleon.ui.widget.list.ListContentProvider;%0Aimport be.kuleuven.cs.distrinet.chameleon.ui.widget.tree.TreeContentProvider;%0Aimport be.kuleuven.cs.distrinet.chameleon.ui.widget.tree.TreeListener;%0A%0A
 %0A%0Apublic
@@ -822,10 +822,192 @@
 tener);%0A
+%09%0A%09public %3CV%3E ComboBoxController%3C? extends W%3E createComboBox(ListContentProvider%3CV%3E contentProvider, LabelProvider provider, ComboBoxListener listener, int baseOneDefaultSelection);%0A
 %7D%0A

add combo box