Rubrique précédente: wizards.xml FileRubrique suivante: 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 LISA object viewer. Every class that you create to extend the LISA software implements this interface if it can be edited in the LISA 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";
}