Search in sources :

Example 1 with OptionFlag

use of jetbrains.communicator.OptionFlag in project intellij-plugins by JetBrains.

the class IDEtalkConfiguration method apply.

public void apply() throws ConfigurationException {
    for (Pair<JCheckBox, OptionFlag> option : myFlags) {
        option.getSecond().change(option.getFirst().isSelected());
    }
    update(myTimeoutAway, IDEtalkOptions.TIMEOUT_AWAY_MIN);
    update(myTimeoutXA, IDEtalkOptions.TIMEOUT_XA_MIN);
    Pico.getEventBroadcaster().fireEvent(new SettingsChanged());
}
Also used : SettingsChanged(jetbrains.communicator.core.users.SettingsChanged) OptionFlag(jetbrains.communicator.OptionFlag)

Aggregations

OptionFlag (jetbrains.communicator.OptionFlag)1 SettingsChanged (jetbrains.communicator.core.users.SettingsChanged)1