Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 194936 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/mylyn/internal/tasks/ui/editors/AttachmentTableLabelProvider.java (-3 / +5 lines)
Lines 63-78 Link Here
63
		RepositoryAttachment attachment = (RepositoryAttachment) element;
63
		RepositoryAttachment attachment = (RepositoryAttachment) element;
64
		switch (columnIndex) {
64
		switch (columnIndex) {
65
		case 0:
65
		case 0:
66
			return " " + attachment.getDescription();
66
			return attachment.getAttributeValue("filename");
67
		case 1:
67
		case 1:
68
			return " " + attachment.getDescription();
69
		case 2:
68
			if (attachment.isPatch()) {
70
			if (attachment.isPatch()) {
69
				return "patch";
71
				return "patch";
70
			} else {
72
			} else {
71
				return attachment.getContentType();
73
				return attachment.getContentType();
72
			}
74
			}
73
		case 2:
74
			return attachment.getCreator();
75
		case 3:
75
		case 3:
76
			return attachment.getCreator();
77
		case 4:
76
			// TODO should retrieve Date object from IOfflineTaskHandler
78
			// TODO should retrieve Date object from IOfflineTaskHandler
77
			return this.AbstractTaskEditor.formatDate(attachment.getDateCreated());
79
			return this.AbstractTaskEditor.formatDate(attachment.getDateCreated());
78
		}
80
		}
(-)src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java (-2 / +2 lines)
Lines 258-266 Link Here
258
258
259
	private TableViewer attachmentsTableViewer;
259
	private TableViewer attachmentsTableViewer;
260
260
261
	private String[] attachmentsColumns = { "Description", "Type", "Creator", "Created" };
261
	private String[] attachmentsColumns = { "Name", "Description", "Type", "Creator", "Created" };
262
262
263
	private int[] attachmentsColumnWidths = { 200, 100, 100, 200 };
263
	private int[] attachmentsColumnWidths = { 150, 200, 100, 100, 200 };
264
264
265
	private Composite editorComposite;
265
	private Composite editorComposite;

Return to bug 194936