All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ui4j.api.dialog.AcceptingConfirmDialogHandler Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package com.ui4j.api.dialog;

import com.ui4j.api.util.Logger;
import com.ui4j.api.util.LoggerFactory;

class AcceptingConfirmDialogHandler implements ConfirmHandler {

    private static final Logger LOG = LoggerFactory.getLogger(AcceptingConfirmDialogHandler.class);

    @Override
    public boolean handle(DialogEvent event) {
        LOG.info("Replying [true] to message: " + event.getMessage());
        return true;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy