| // |
| // 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> |
| * <complexType name="widget"> |
| * <complexContent> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
| * <sequence> |
| * <element name="grid-data" type="{http://org.eclipse.ptp/rm}grid-data" minOccurs="0"/> |
| * <element name="label" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> |
| * <element name="style" type="{http://org.eclipse.ptp/rm}style" minOccurs="0"/> |
| * <element name="tooltip" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> |
| * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> |
| * <element name="displayValue" type="{http://org.eclipse.ptp/rm}arglist" minOccurs="0"/> |
| * </sequence> |
| * <attribute name="readOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> |
| * <attribute name="saveAs" type="{http://www.w3.org/2001/XMLSchema}string" /> |
| * <attribute name="type" default="text"> |
| * <simpleType> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
| * <enumeration value="label"/> |
| * <enumeration value="text"/> |
| * <enumeration value="checkbox"/> |
| * <enumeration value="spinner"/> |
| * <enumeration value="combo"/> |
| * <enumeration value="pushButton"/> |
| * <enumeration value="radioButton"/> |
| * <enumeration value="browseDirectoryButton"/> |
| * <enumeration value="browseExistingFileButton"/> |
| * <enumeration value="browseOrCreateFileButton"/> |
| * </restriction> |
| * </simpleType> |
| * </attribute> |
| * <attribute name="valueFrom" type="{http://www.w3.org/2001/XMLSchema}string" /> |
| * </restriction> |
| * </complexContent> |
| * </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; |
| } |
| |
| } |