public interface ITypedElement
These methods are typically used to present an input object in the compare UI
(getName and getImage)
and for finding a viewer for a given input type (getType).
Clients may implement this interface.
| Modifier and Type | Field and Description |
|---|---|
static String |
FOLDER_TYPE
Type for a folder input (value
"FOLDER"). |
static String |
TEXT_TYPE
Type for an element whose actual type is text (value
"txt"). |
static String |
UNKNOWN_TYPE
Type for an element whose actual type could not
be determined.
|
static final String FOLDER_TYPE
"FOLDER").
Folders are comparison elements that have no contents, only a name and children.static final String TEXT_TYPE
"txt").static final String UNKNOWN_TYPE
"???").String getName()
Image getImage()
null if this type of input has no imageString getType()
FOLDER_TYPE.
The type is used for determining a suitable viewer for this object.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.