blob: 44dd6a1fa98e66baeef426a0b39a43ae891f1c45 [file] [log] [blame]
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.03.15 at 06:57:07 PM CDT
//
package org.eclipse.ptp.rm.jaxb.core.data;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for widget complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* &lt;complexType name="widget">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="grid-data" type="{http://org.eclipse.ptp/rm}grid-data" minOccurs="0"/>
* &lt;element name="label" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="style" type="{http://org.eclipse.ptp/rm}style" minOccurs="0"/>
* &lt;element name="tooltip" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="displayValue" type="{http://org.eclipse.ptp/rm}arglist" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute name="readOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* &lt;attribute name="saveAs" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="type" default="text">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="label"/>
* &lt;enumeration value="text"/>
* &lt;enumeration value="checkbox"/>
* &lt;enumeration value="spinner"/>
* &lt;enumeration value="combo"/>
* &lt;enumeration value="pushButton"/>
* &lt;enumeration value="radioButton"/>
* &lt;enumeration value="browseDirectoryButton"/>
* &lt;enumeration value="browseExistingFileButton"/>
* &lt;enumeration value="browseOrCreateFileButton"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/attribute>
* &lt;attribute name="valueFrom" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "widget", propOrder = { "gridData", "label", "style", "tooltip", "value", "displayValue" })
public class Widget {
@XmlElement(name = "grid-data")
protected GridData gridData;
protected String label;
protected Style style;
protected String tooltip;
protected String value;
protected Arglist displayValue;
@XmlAttribute
protected Boolean readOnly;
@XmlAttribute
protected String saveAs;
@XmlAttribute
protected String type;
@XmlAttribute
protected String valueFrom;
/**
* Gets the value of the displayValue property.
*
* @return possible object is {@link Arglist }
*
*/
public Arglist getDisplayValue() {
return displayValue;
}
/**
* Gets the value of the gridData property.
*
* @return possible object is {@link GridData }
*
*/
public GridData getGridData() {
return gridData;
}
/**
* Gets the value of the label property.
*
* @return possible object is {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* Gets the value of the saveAs property.
*
* @return possible object is {@link String }
*
*/
public String getSaveAs() {
return saveAs;
}
/**
* Gets the value of the style property.
*
* @return possible object is {@link Style }
*
*/
public Style getStyle() {
return style;
}
/**
* Gets the value of the tooltip property.
*
* @return possible object is {@link String }
*
*/
public String getTooltip() {
return tooltip;
}
/**
* Gets the value of the type property.
*
* @return possible object is {@link String }
*
*/
public String getType() {
if (type == null) {
return "text"; //$NON-NLS-1$
} else {
return type;
}
}
/**
* Gets the value of the value property.
*
* @return possible object is {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Gets the value of the valueFrom property.
*
* @return possible object is {@link String }
*
*/
public String getValueFrom() {
return valueFrom;
}
/**
* Gets the value of the readOnly property.
*
* @return possible object is {@link Boolean }
*
*/
public boolean isReadOnly() {
if (readOnly == null) {
return false;
} else {
return readOnly;
}
}
/**
* Sets the value of the displayValue property.
*
* @param value
* allowed object is {@link Arglist }
*
*/
public void setDisplayValue(Arglist value) {
this.displayValue = value;
}
/**
* Sets the value of the gridData property.
*
* @param value
* allowed object is {@link GridData }
*
*/
public void setGridData(GridData value) {
this.gridData = value;
}
/**
* Sets the value of the label property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* Sets the value of the readOnly property.
*
* @param value
* allowed object is {@link Boolean }
*
*/
public void setReadOnly(Boolean value) {
this.readOnly = value;
}
/**
* Sets the value of the saveAs property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setSaveAs(String value) {
this.saveAs = value;
}
/**
* Sets the value of the style property.
*
* @param value
* allowed object is {@link Style }
*
*/
public void setStyle(Style value) {
this.style = value;
}
/**
* Sets the value of the tooltip property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setTooltip(String value) {
this.tooltip = value;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Sets the value of the valueFrom property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setValueFrom(String value) {
this.valueFrom = value;
}
}