Class SQLDataSetDefAttributesEditor

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

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

    SQL Data Set specific attributes editor presenter.

    Since:
    0.4.0
    • Constructor Detail

      • SQLDataSetDefAttributesEditor

        @Inject
        public SQLDataSetDefAttributesEditor​(org.dashbuilder.common.client.editor.list.DropDownEditor dataSource,
                                             org.dashbuilder.common.client.editor.ValueBoxEditor<String> dbSchema,
                                             org.dashbuilder.common.client.editor.ValueBoxEditor<String> dbTable,
                                             org.dashbuilder.common.client.editor.ValueBoxEditor<String> dbSQL,
                                             org.jboss.errai.common.client.api.Caller<org.dashbuilder.dataset.service.SQLProviderServices> sqlProviderServices,
                                             SQLDataSetDefAttributesEditor.View view)
    • Method Detail

      • asWidget

        public com.google.gwt.user.client.ui.Widget asWidget()
        GWT EDITOR CONTRACT METHODS **
        Specified by:
        asWidget in interface com.google.gwt.user.client.ui.IsWidget
      • dataSource

        public org.dashbuilder.common.client.editor.list.DropDownEditor dataSource()
        Specified by:
        dataSource in interface org.dashbuilder.dataset.client.editor.SQLDataSetDefAttributesEditor
      • dbSchema

        public org.dashbuilder.common.client.editor.ValueBoxEditor<String> dbSchema()
        Specified by:
        dbSchema in interface org.dashbuilder.dataset.client.editor.SQLDataSetDefAttributesEditor
      • dbTable

        public org.dashbuilder.common.client.editor.ValueBoxEditor<String> dbTable()
        Specified by:
        dbTable in interface org.dashbuilder.dataset.client.editor.SQLDataSetDefAttributesEditor
      • dbSQL

        public org.dashbuilder.common.client.editor.ValueBoxEditor<String> dbSQL()
        Specified by:
        dbSQL in interface org.dashbuilder.dataset.client.editor.SQLDataSetDefAttributesEditor
      • flush

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

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

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

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

        public boolean isUsingQuery()
        Specified by:
        isUsingQuery in interface org.dashbuilder.dataset.client.editor.SQLDataSetDefAttributesEditor