Enhancement on Task #10070
GUI enhancement git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/widgets/ws-task-executor-widget@167362 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1d3de9f423
commit
60067bdd21
|
@ -88,9 +88,11 @@ public class WsTaskExecutorWidget {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param folder
|
* Perform run task.
|
||||||
* @param conf
|
*
|
||||||
* @throws Exception
|
* @param folder the folder
|
||||||
|
* @param conf the conf
|
||||||
|
* @throws Exception the exception
|
||||||
*/
|
*/
|
||||||
public void performRunTask(WsFolder folder, TaskConfiguration conf) throws Exception {
|
public void performRunTask(WsFolder folder, TaskConfiguration conf) throws Exception {
|
||||||
|
|
||||||
|
@ -104,13 +106,14 @@ public class WsTaskExecutorWidget {
|
||||||
//WsTaskExecutorWidget.wsTaskService.runTask()
|
//WsTaskExecutorWidget.wsTaskService.runTask()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Show task configurations folder info.
|
* Show task configurations for folder.
|
||||||
*
|
*
|
||||||
* @param folder the folder
|
* @param folder the folder
|
||||||
* @throws Exception the exception
|
* @throws Exception the exception
|
||||||
*/
|
*/
|
||||||
public void showTaskConfigurationsFolderInfo(final WsFolder folder) throws Exception {
|
public void showTaskConfigurationsForFolder(final WsFolder folder) throws Exception {
|
||||||
|
|
||||||
if(folder==null || folder.getFolderId()==null)
|
if(folder==null || folder.getFolderId()==null)
|
||||||
throw new Exception("Invalid parameter folder null");
|
throw new Exception("Invalid parameter folder null");
|
||||||
|
@ -130,7 +133,7 @@ public class WsTaskExecutorWidget {
|
||||||
LoaderIcon loader = new LoaderIcon("Checking folder configurations...");
|
LoaderIcon loader = new LoaderIcon("Checking folder configurations...");
|
||||||
box.add(loader);
|
box.add(loader);
|
||||||
|
|
||||||
GWT.log("Performing isItemSynched: "+folder.getFolderId());
|
GWT.log("Performing checkItemTaskConfigurations: "+folder.getFolderId());
|
||||||
|
|
||||||
WsTaskExecutorWidget.wsTaskService.checkItemTaskConfigurations(folder.getFolderId(), new AsyncCallback<List<TaskConfiguration>>() {
|
WsTaskExecutorWidget.wsTaskService.checkItemTaskConfigurations(folder.getFolderId(), new AsyncCallback<List<TaskConfiguration>>() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue