Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 213383 - [context] shortened package labels appear in Context editor content
Summary: [context] shortened package labels appear in Context editor content
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P4 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-18 18:09 EST by Eugene Kuleshov CLA
Modified: 2009-07-24 14:22 EDT (History)
3 users (show)

See Also:


Attachments
current labels in action (54.07 KB, image/jpeg)
2007-12-18 18:12 EST, Eugene Kuleshov CLA
no flags Details
mylyn/context/zip (1.74 KB, application/octet-stream)
2008-02-20 21:56 EST, Mik Kersten CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Kuleshov CLA 2007-12-18 18:09:54 EST
Context tab in the Task Editor have invalid package labels
Comment 1 Eugene Kuleshov CLA 2007-12-18 18:12:03 EST
Created attachment 85498 [details]
current labels in action
Comment 2 Mik Kersten CLA 2007-12-20 15:10:31 EST
Looks like the common navigator has a shortened mode that it defaults to, and we should be using the full mode.

Martin: do you know off-hand where this setting is?
Comment 3 Martin Aeschlimann CLA 2007-12-21 04:29:31 EST
Package shortening is configured with PreferenceConstants.APPEARANCE_PKG_NAME_PATTERN_FOR_PKG_VIEW.

JavaElemenetLabelProvider and JavaElementLabels should be used to render all Java elements and they use this setting.

I just tested in 3.3 that both the package explorer and the project explorer are showing package names correctly. 
Comment 4 Mik Kersten CLA 2008-02-20 21:56:19 EST
Looks like the problem that we have here is that we are forcing the flat layout of the Java content in the common navigator that we are creating and this may be triggering the shortening of the package names even though short names are not used by other Java content providers.  A fix will require considerably more investigation due to the dependency problem we have with the content provider being set up ..mylyn.context.ui and not in ..mylyn.java.ui.
Comment 5 Mik Kersten CLA 2008-02-20 21:56:32 EST
Created attachment 90276 [details]
mylyn/context/zip
Comment 6 Mik Kersten CLA 2009-07-24 14:22:22 EDT
Just checked and this is still the case.
Comment 7 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn