|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.gmf.runtime.common.ui.services.elementselection.AbstractMatchingObject
Abstract implementation of an IElementSelectionProvider.
| Field Summary | |
static java.lang.String |
DASHES
The dashes used to construct the display name. |
| Constructor Summary | |
AbstractMatchingObject(java.lang.String name,
java.lang.String displayName,
Image image,
IElementSelectionProvider provider)
Constructor for an AbstractMatchingObject. |
|
| Method Summary | |
java.lang.String |
getDisplayName()
Retrieve the display name of the matching object, which is used to as display text by the label provider. |
Image |
getImage()
Retrieve the image of the matching object, which is used to as display icon by the label provider. |
java.lang.String |
getName()
Retrieve the name of the matching object, which is used when filtering (we filter on the concrete name, not the display name). |
IElementSelectionProvider |
getProvider()
Retrieve the type selection provider that that provided this matching object. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static java.lang.String DASHES
| Constructor Detail |
public AbstractMatchingObject(java.lang.String name,
java.lang.String displayName,
Image image,
IElementSelectionProvider provider)
name - the name of the matching object.displayName - The display name of the matching object.image - The image of the matching object.provider - The element selection provider that that provided this
matching object.| Method Detail |
public java.lang.String getName()
getName in interface IMatchingObjectpublic java.lang.String getDisplayName()
getDisplayName in interface IMatchingObjectpublic Image getImage()
getImage in interface IMatchingObjectpublic java.lang.String toString()
public IElementSelectionProvider getProvider()
getProvider in interface IMatchingObject
|
Runtime | ||||||||||
| 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., Borland Software Corp., and others 2005,2006. All rights reserved.