package org.pentaho.ui.xul.swing.tags;

import java.awt.GridBagLayout;

import javax.swing.JPanel;

import org.pentaho.ui.xul.XulComponent;
import org.pentaho.ui.xul.XulDomContainer;
import org.pentaho.ui.xul.components.XulTab;
import org.pentaho.ui.xul.swing.SwingElement;
import org.pentaho.ui.xul.util.Orient;

public class SwingTab extends SwingElement implements XulTab{
	
	private String label;
	private boolean disabled = false;
	private String onclick;
	
	public SwingTab(XulComponent parent, XulDomContainer domContainer, String tagName) {
		super("tab");
	}

	public boolean isDisabled() {
		return disabled;
	}

	public String getLabel() {
		return label;
	}

	public String getOnclick() {
		return onclick;
	}

	public void setDisabled(boolean disabled) {
		this.disabled = disabled;
		
	}

	public void setLabel(String label) {
		this.label = label;
		
	}

	public void setOnclick(String onClick) {
		this.onclick = onClick;
		
	}
	@Override
	public void layout() {
	}
}

@@ -558,16 +558,43 @@
 %22tab%22);%0A
+%09%09managedObject = %22empty%22;%0A
 %09%7D%0A%0A%09pub

Set the ManagedObject to empty