use of com.cubrid.cubridmanager.core.cubrid.jobauto.model.QueryLogList in project cubrid-manager by CUBRID.
the class QueryLogDialog method loadData.
/**
* load the data
*
* @return boolean
*/
public boolean loadData() {
CommonQueryTask<QueryLogList> task = new CommonQueryTask<QueryLogList>(server.getServerInfo(), CommonSendMsg.getCommonSimpleSendMsg(), new QueryLogList());
TaskExecutor taskExecutor = new CommonTaskExec(Messages.loadQueryLogTaskName);
taskExecutor.addTask(task);
new ExecTaskWithProgress(taskExecutor).exec();
if (!taskExecutor.isSuccess()) {
return false;
}
queryLogList = task.getResultModel();
return true;
}
Aggregations