This demonstrates the basic specification of an AWM tool including input and output parameter handling.
The following screen shot shows you how this plug-in extends the AWM model extension point. It specifies a new function package called Samples which contains a reference to one tool with an input and an output parameter.
The tool is modelled in the GetTime.model available under the models folder of the plug-in project as follows:
The Java class GetTimeToolExecutor under the src package of the plug-in project shows you how the input parameter is obtained and how the output parameter is returned making use of the corresponding AWM API methods.
In your Eclipse run-time environment you can test the tool as application action "Get Time..." after you have loaded the model GetTime.model under a AWM custom system in the Application Explorer view. See Testing an AWM Plug-in Project for more information on how to test a plug-in project in the Eclipse run-time environment.