|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITypedElement
Interface for getting the name, image, and type for an object.
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.
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
Image |
getImage()
Returns an image for this object. |
String |
getName()
Returns the name of this object. |
String |
getType()
Returns the type of this object. |
Field Detail |
---|
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
"???"
).
Method Detail |
---|
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.
|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.