Search in sources :

Example 1 with ProxyProgressMonitor

use of org.jkiss.dbeaver.model.runtime.ProxyProgressMonitor in project dbeaver by serge-rider.

the class ProgressLoaderVisualizer method overwriteMonitor.

@Override
public DBRProgressMonitor overwriteMonitor(DBRProgressMonitor monitor) {
    DBRProgressMonitor progressMonitor = new ProxyProgressMonitor(monitor) {

        @Override
        public void subTask(String name) {
            progressMessage = name;
            super.subTask(name);
        }
    };
    return progressMonitor;
}
Also used : DBRProgressMonitor(org.jkiss.dbeaver.model.runtime.DBRProgressMonitor) ProxyProgressMonitor(org.jkiss.dbeaver.model.runtime.ProxyProgressMonitor)

Aggregations

DBRProgressMonitor (org.jkiss.dbeaver.model.runtime.DBRProgressMonitor)1 ProxyProgressMonitor (org.jkiss.dbeaver.model.runtime.ProxyProgressMonitor)1