class FillTheFormDialogModel {

    public void showDialog(@EventType int modelEventType, List<ConfigurationItem> selectedConfigurationItems) {
        if (isDialogVisible() && isFastModeEnabled() && modelEventType == EVENT_TYPE_VIEW_LONG_CLICKED) {
            return;
        } else if (!isDialogVisible() && (modelEventType == EVENT_TYPE_VIEW_CLICKED || modelEventType == EVENT_TYPE_VIEW_FOCUSED)) {
            return;
        }
        helper.clearConfigurationVariables();
        setSortedConfigurationItems(selectedConfigurationItems);
        if (!isDialogVisible()) {
            setExpandIconVisible(true);
            setDialogVisible(true);
            notifyPropertyChanged(PROPERTY_DIALOG_INITIAL_POSITION);
        }
        notifyPropertyChanged(PROPERTY_DATA_SET);
        notifyPropertyChanged(PROPERTY_DATA_SET_SCROLL_POSITION);
        if (isFastModeEnabled() || modelEventType == EVENT_TYPE_VIEW_LONG_CLICKED) {
            setSelectedConfigItem(sortedConfigurationItems.get(0));
            actionCallbacks.setText(getSelectedConfigItemValue());
            notifyPropertyChanged(PROPERTY_DATA_SET);
        }
    }

    public  FillTheFormDialogModel(FillTheFormDialogModelHelper helper);

}