Class ColumnTypeEditor

  • All Implemented Interfaces:
    com.google.gwt.editor.client.Editor<org.dashbuilder.dataset.def.DataColumnDef>, com.google.gwt.editor.client.HasEditorDelegate<org.dashbuilder.dataset.def.DataColumnDef>, com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.DataColumnDef>, com.google.gwt.user.client.ui.IsWidget, org.dashbuilder.common.client.editor.HasEditMode, org.dashbuilder.dataset.client.editor.ColumnTypeEditor

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

    Data Set column type editor presenter.

    Since:
    0.4.0
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.google.gwt.editor.client.Editor

        com.google.gwt.editor.client.Editor.Ignore, com.google.gwt.editor.client.Editor.Path
    • Constructor Summary

      Constructors 
      Constructor Description
      ColumnTypeEditor​(org.dashbuilder.common.client.editor.list.DropDownImageListEditor<org.dashbuilder.dataset.ColumnType> columnType)  
    • Constructor Detail

      • ColumnTypeEditor

        @Inject
        public ColumnTypeEditor​(org.dashbuilder.common.client.editor.list.DropDownImageListEditor<org.dashbuilder.dataset.ColumnType> columnType)
    • Method Detail

      • asWidget

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

        public void addHelpContent​(String title,
                                   String content,
                                   org.gwtbootstrap3.client.ui.constants.Placement placement)
      • setOriginalColumnType

        public void setOriginalColumnType​(org.dashbuilder.dataset.ColumnType columnType)
        Specified by:
        setOriginalColumnType in interface org.dashbuilder.dataset.client.editor.ColumnTypeEditor
      • columnType

        public org.dashbuilder.common.client.editor.list.DropDownImageListEditor<org.dashbuilder.dataset.ColumnType> columnType()
        GWT EDITOR CONTRACT METHODS **
        Specified by:
        columnType in interface org.dashbuilder.dataset.client.editor.ColumnTypeEditor
      • flush

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

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

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

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

        protected Collection<org.dashbuilder.common.client.editor.list.ImageListEditor.Entry> getDefaultEntries()
      • isEditMode

        public void isEditMode​(boolean isEdit)
        Specified by:
        isEditMode in interface org.dashbuilder.common.client.editor.HasEditMode