Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 74839 Details for
Bug 194936
attachment names are not displaying for connectors by default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch
clipboard.txt (text/plain), 2.29 KB, created by
Frank Becker
on 2007-07-27 18:01:25 EDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Frank Becker
Created:
2007-07-27 18:01:25 EDT
Size:
2.29 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.mylyn.tasks.ui >Index: src/org/eclipse/mylyn/internal/tasks/ui/editors/AttachmentTableLabelProvider.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttachmentTableLabelProvider.java,v >retrieving revision 1.3 >diff -u -r1.3 AttachmentTableLabelProvider.java >--- src/org/eclipse/mylyn/internal/tasks/ui/editors/AttachmentTableLabelProvider.java 10 Jul 2007 00:30:39 -0000 1.3 >+++ src/org/eclipse/mylyn/internal/tasks/ui/editors/AttachmentTableLabelProvider.java 27 Jul 2007 22:01:30 -0000 >@@ -63,16 +63,18 @@ > RepositoryAttachment attachment = (RepositoryAttachment) element; > switch (columnIndex) { > case 0: >- return " " + attachment.getDescription(); >+ return attachment.getAttributeValue("filename"); > case 1: >+ return " " + attachment.getDescription(); >+ case 2: > if (attachment.isPatch()) { > return "patch"; > } else { > return attachment.getContentType(); > } >- case 2: >- return attachment.getCreator(); > case 3: >+ return attachment.getCreator(); >+ case 4: > // TODO should retrieve Date object from IOfflineTaskHandler > return this.AbstractTaskEditor.formatDate(attachment.getDateCreated()); > } >Index: src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java,v >retrieving revision 1.205 >diff -u -r1.205 AbstractRepositoryTaskEditor.java >--- src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java 27 Jul 2007 04:25:39 -0000 1.205 >+++ src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java 27 Jul 2007 22:01:35 -0000 >@@ -258,9 +258,9 @@ > > private TableViewer attachmentsTableViewer; > >- private String[] attachmentsColumns = { "Description", "Type", "Creator", "Created" }; >+ private String[] attachmentsColumns = { "Name", "Description", "Type", "Creator", "Created" }; > >- private int[] attachmentsColumnWidths = { 200, 100, 100, 200 }; >+ private int[] attachmentsColumnWidths = { 150, 200, 100, 100, 200 }; > > private Composite editorComposite;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194936
: 74839 |
74840
|
75168
|
75169
|
75890
|
75891