Search in sources :

Example 1 with AutoAddVolumeLogList

use of com.cubrid.cubridmanager.core.cubrid.dbspace.model.AutoAddVolumeLogList in project cubrid-manager by CUBRID.

the class AutoAddVolumeLogDialog method loadData.

/**
	 * load the data
	 * 
	 * @return boolean
	 */
public boolean loadData() {
    CommonQueryTask<AutoAddVolumeLogList> task = new CommonQueryTask<AutoAddVolumeLogList>(server.getServerInfo(), CommonSendMsg.getCommonSimpleSendMsg(), new AutoAddVolumeLogList());
    TaskExecutor taskExecutor = new CommonTaskExec(Messages.getAuotAddedVolLogTaskName);
    taskExecutor.addTask(task);
    new ExecTaskWithProgress(taskExecutor).busyCursorWhile();
    if (!taskExecutor.isSuccess()) {
        return false;
    }
    volumeLogList = task.getResultModel();
    return true;
}
Also used : CommonTaskExec(com.cubrid.common.ui.spi.progress.CommonTaskExec) TaskExecutor(com.cubrid.common.ui.spi.progress.TaskExecutor) ExecTaskWithProgress(com.cubrid.common.ui.spi.progress.ExecTaskWithProgress) CommonQueryTask(com.cubrid.cubridmanager.core.common.task.CommonQueryTask) AutoAddVolumeLogList(com.cubrid.cubridmanager.core.cubrid.dbspace.model.AutoAddVolumeLogList)

Aggregations

CommonTaskExec (com.cubrid.common.ui.spi.progress.CommonTaskExec)1 ExecTaskWithProgress (com.cubrid.common.ui.spi.progress.ExecTaskWithProgress)1 TaskExecutor (com.cubrid.common.ui.spi.progress.TaskExecutor)1 CommonQueryTask (com.cubrid.cubridmanager.core.common.task.CommonQueryTask)1 AutoAddVolumeLogList (com.cubrid.cubridmanager.core.cubrid.dbspace.model.AutoAddVolumeLogList)1