Interface ITypeMapper

  • All Known Implementing Classes:

    public interface ITypeMapper
    Allows property sheet page contributors to map the input object type to a domain model type. The domain model type is then used for matching against the input attribute of the propertySection extension.

    The type mapper is most frequently used to return the type of the model object when selecting a view object in a workbench part. For example, nodes in a tree may all be TreeObjects in a structured selection. The type mapper will take the tree node and return the type of the model object the node represents.

    This interface should not be extended or implemented. New type mapper instances should be created using AbstractTypeMapper.

    • Method Detail

      • mapType

        Class mapType​(Object object)
        Map the input object to a domain model type.
        object - the input object.
        the type of the input object, mapped to the domain type if required.