Community
Participate
Working Groups
The default implementation of the EObjectLabelProvider will delegate to an AdapterFactoryLabelProvider if the EObject has no customized text(..) method and no name-Feature. The AdapterFactoryLabelProvider in turn will invoke toString() on the object, if no specific provider is available. This renders the default outline basically unusable for non trivial languages, e.g. even the outline of the Domainmodel contains nodes for TypeRefs labeled "org.eclipse.xtext.example....TypeRefImpl@012345".
Proposed solution: Find a way to identify unreadable default labels and let consumeNode(..) return false for these objects.
Created attachment 167381 [details] proposed patch
fixed in HEAD. pls verify
Closing bug which were set to RESOLVED before Eclipse Neon.0.