This contributed tool (stripTrailing) is broken down into several separate pieces that work together to deliver the desired functionality to the user.
In this case, a NOMADS panel is used to display the output from the tool and to also allow the user to interact with the tool as it performs the work.
This contributed tool is broken down into several separate pieces that work together to deliver the desired functionality to the user. In this case, a NOMADS panel is used to display the output from the tool and to also allow the user to interact with the tool as it performs the work.
The do_ActionPerformed() method in the listener for this contributed tool simply starts the user interface class in a new process which will be responsible for completing the work.
do_ActionPerformed:
enter (IExtCommand)
local oCommon
oCommon=new("ecCommon")
oCommon'processPanel(cUI$,cTitle$)
drop object oCommon
return
The user interface class inherits the standard Plug-in class com.pvx.util.progress which provides a simple progress log window that includes several buttons to allow user interaction as the work progresses. This class requires the child class to implement a do_work() method to perform the required work for the contributed tool and also manage the available features of the interface.
The child class interacts with the user interface using the following methods:
The following image show an example if the user interface that will be presented to the user.
