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

    @PostConstruct
    public void init() {
        view.init(this);

        // List box for available date interval types.
        for (final DateIntervalType dateInterval : ALLOWED_TYPES) {
            final String s = DateIntervalTypeConstants.INSTANCE.getString(dateInterval.name());
            view.addIntervalTypeItem(s);
        }
    }

    @Inject public  DataSetDefRefreshIntervalEditor(final View view,
                                           final Event<org.dashbuilder.common.client.event.ValueChangeEvent<String>> valueChangeEvent);

}