org.eclipse.gmt.modisco.infra.browser.uicore.extensions.naming
Interface NameProvider
- All Known Subinterfaces:
- FilteredNameProvider
- All Known Implementing Classes:
- AbstractNameProvider
public interface NameProvider
The interface that must be implemented in order to use the naming extension.
Implementors may choose to use the FilteredNameProvider
interface
instead if they want to add a filter, or the AbstractNameProvider
class, which implements default naming rules.
Method Summary |
java.lang.String |
getName(EObject eObject)
|
getName
java.lang.String getName(EObject eObject)
- Returns:
- the name that must be displayed for the given
EObject
, or
null
to keep the default name (or let another
NameProvider
provide the name)