class DataSetDefRefreshAttributesEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefRefreshAttributesEditor {

    @PostConstruct
    public void init() {
        view.init(this);
        view.initWidgets(refreshAlways.asWidget(), refreshTime.view);
        view.addRefreshEnabledButtonHandler(refreshEnabledButtonHandler);
        refreshTime.addHelpContent(DataSetEditorConstants.INSTANCE.attributeRefreshInterval(),
                DataSetEditorConstants.INSTANCE.attributeRefreshInterval_description(),
                Placement.RIGHT);
    }

    @Inject public  DataSetDefRefreshAttributesEditor(final ToggleSwitchEditor refreshAlways,
                                             final DataSetDefRefreshIntervalEditor refreshTime,
                                             final View view);

}