org.eclipse.ui.views.properties.tabbed
Interface ITypeMapper
-
All Known Implementing Classes:
-
AbstractTypeMapper
-
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 Summary
|
Class
|
mapType
(
Object object)
Map the input object to a domain model type. |
mapType
Class mapType(
Object object)
- Map the input object to a domain model type.
-
-
Parameters:
-
object
- the input object.
-
Returns:
- the type of the input object, mapped to the domain type if
required.
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.