Previous Topic: wizards.xml FileNext Topic: Parameters and Parameter Lists


The NamedType Interface

The com.itko.lisa.test.NamedType interface specifies that an implementing class is an object that is associated with a DevTest object viewer. Every class that you create to extend the DevTest Solutions implements this interface if it can be edited in the Test Manager. It exposes one method, getTypeName, which provides the text that is associated with the element in the model editor. For example, notice the text "File First Line Filter" in the following image.

SDK Filter Wizard screen

A method in the class that defines the filter provides the text. That class must implement the com.itko.lisa.test.NamedType interface, and must implement the getTypeName method:

public String getTypeName()
{
    return "File First Line Filter";
}