Class DataSetDefColumnsEditor

  • All Implemented Interfaces:
    com.google.gwt.editor.client.Editor<org.dashbuilder.dataset.def.DataSetDef>, com.google.gwt.editor.client.HasEditorDelegate<org.dashbuilder.dataset.def.DataSetDef>, com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.DataSetDef>, com.google.gwt.user.client.ui.IsWidget, org.dashbuilder.common.client.editor.HasConstrainedValue<List<org.dashbuilder.dataset.def.DataColumnDef>>, org.dashbuilder.common.client.editor.HasRestrictedValue<String>, org.dashbuilder.dataset.client.editor.DataSetDefColumnsEditor

    @Dependent
    public class DataSetDefColumnsEditor
    extends Object
    implements com.google.gwt.user.client.ui.IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefColumnsEditor

    Data Set columns editor.

    It's attached in the gwt editors chain to handle the allColumns flag.

    Since:
    0.4.0
    • Constructor Detail

      • DataSetDefColumnsEditor

        @Inject
        public DataSetDefColumnsEditor​(ColumnListEditor columnListEditor)
    • Method Detail

      • asWidget

        public com.google.gwt.user.client.ui.Widget asWidget()
        Specified by:
        asWidget in interface com.google.gwt.user.client.ui.IsWidget
      • columns

        public ColumnListEditor columns()
        Specified by:
        columns in interface org.dashbuilder.dataset.client.editor.DataSetDefColumnsEditor
      • setAcceptableValues

        public void setAcceptableValues​(List<org.dashbuilder.dataset.def.DataColumnDef> acceptableValues)
        Specified by:
        setAcceptableValues in interface org.dashbuilder.common.client.editor.HasConstrainedValue<List<org.dashbuilder.dataset.def.DataColumnDef>>
      • flush

        public void flush()
        Specified by:
        flush in interface com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.DataSetDef>
      • onPropertyChange

        public void onPropertyChange​(String... paths)
        Specified by:
        onPropertyChange in interface com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.DataSetDef>
      • setValue

        public void setValue​(org.dashbuilder.dataset.def.DataSetDef value)
        Specified by:
        setValue in interface com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.DataSetDef>
      • setDelegate

        public void setDelegate​(com.google.gwt.editor.client.EditorDelegate<org.dashbuilder.dataset.def.DataSetDef> delegate)
        Specified by:
        setDelegate in interface com.google.gwt.editor.client.HasEditorDelegate<org.dashbuilder.dataset.def.DataSetDef>
      • onValueRestricted

        public void onValueRestricted​(String value)
        Specified by:
        onValueRestricted in interface org.dashbuilder.common.client.editor.HasRestrictedValue<String>
      • onValueUnRestricted

        public void onValueUnRestricted​(String value)
        Specified by:
        onValueUnRestricted in interface org.dashbuilder.common.client.editor.HasRestrictedValue<String>