<commit_before>/*
 * Copyright (c) 2008 Haulmont Technology Ltd. All Rights Reserved.
 * Haulmont Technology proprietary and confidential.
 * Use is subject to license terms.

 * Author: <NAME>
 * Created: 05.03.2009 12:31:23
 * $Id$
 */
package com.haulmont.cuba.gui.components;

import com.haulmont.chile.core.model.MetaClass;
import com.haulmont.cuba.gui.WindowManager;

public interface PickerField extends Field {

    String NAME = "pickerField";

    CaptionMode getCaptionMode();
    void setCaptionMode(CaptionMode captionMode);

    String getCaptionProperty();
    void setCaptionProperty(String captionProperty);

    MetaClass getMetaClass();
    void setMetaClass(MetaClass metaClass);

    String getLookupScreen();
    void setLookupScreen(String lookupScreen);

    WindowManager.OpenType getLookupScreenOpenType();
    void setLookupScreenOpenType(WindowManager.OpenType lookupScreenOpenType);

    void setPickerButtonCaption(String caption);

    void setPickerButtonIcon(String iconName);

    void setClearButtonCaption(String caption);

    void setClearButtonIcon(String iconName);
}<commit_msg>- added value provider to picker field to specify lookup screen parameters<commit_after>/*
 * Copyright (c) 2008 Haulmont Technology Ltd. All Rights Reserved.
 * Haulmont Technology proprietary and confidential.
 * Use is subject to license terms.

 * Author: <NAME>
 * Created: 05.03.2009 12:31:23
 * $Id$
 */
package com.haulmont.cuba.gui.components;

import com.haulmont.chile.core.model.MetaClass;
import com.haulmont.cuba.gui.WindowManager;

public interface PickerField extends Field {

    String NAME = "pickerField";

    CaptionMode getCaptionMode();
    void setCaptionMode(CaptionMode captionMode);

    String getCaptionProperty();
    void setCaptionProperty(String captionProperty);

    MetaClass getMetaClass();
    void setMetaClass(MetaClass metaClass);

    String getLookupScreen();
    void setLookupScreen(String lookupScreen);

    WindowManager.OpenType getLookupScreenOpenType();
    void setLookupScreenOpenType(WindowManager.OpenType lookupScreenOpenType);

    void setPickerButtonCaption(String caption);

    void setPickerButtonIcon(String iconName);

    void setClearButtonCaption(String caption);

    void setClearButtonIcon(String iconName);

    ValueProvider getValueProvider();
    void setValueProvider(ValueProvider valueProvider);
}
{'fraction_non_alphanumeric': 0.0822890559732665, 'fraction_numerical': 0.015037593984962405, 'mean_word_length': 4.884520884520884, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5628713', 'n_tokens_mistral': 706, 'n_tokens_neox': 636, 'n_words': 172}