diagapplet.CodeGen
Interface LoadHierarchyUpdateInterface


public interface LoadHierarchyUpdateInterface

An interface used to update a graphical progress bar and status text with information on the progress loading a hierarchy, configuration file etc.


Method Summary
 void done()
          Send notice that the task is completed/file read etc.
 void update_internal(java.lang.String name, int part, int total)
          Update a second progress bar with details of a subtask.
 void update_main(java.lang.String name, int part, int total)
          Update the progress bar that task name has completed part of total.
 

Method Detail

update_main

void update_main(java.lang.String name,
                 int part,
                 int total)
Update the progress bar that task name has completed part of total.

Parameters:
name - name of file to be loaded/task to be completed
part - lines of the file read or number of subparts of task completed
total - total number of lines in file to real or total subtasks to be accomplished.

update_internal

void update_internal(java.lang.String name,
                     int part,
                     int total)
Update a second progress bar with details of a subtask.

Parameters:
name - name of file to be loaded/task to be completed
part - lines of the file read or number of subparts of task completed
total - total number of lines in file to real or total subtasks to be accomplished.

done

void done()
Send notice that the task is completed/file read etc.