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 88671 Details for
Bug 205238
drag and drop multiple attachments only attaches the first in the selection
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), 1.47 KB, created by
maarten meijer
on 2008-02-02 11:17:39 EST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
maarten meijer
Created:
2008-02-02 11:17:39 EST
Size:
1.47 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.mylyn.tasks.ui >Index: src/org/eclipse/mylyn/tasks/ui/editors/RepositoryTaskEditorDropListener.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/RepositoryTaskEditorDropListener.java,v >retrieving revision 1.11 >diff -u -r1.11 RepositoryTaskEditorDropListener.java >--- src/org/eclipse/mylyn/tasks/ui/editors/RepositoryTaskEditorDropListener.java 9 Oct 2007 04:27:13 -0000 1.11 >+++ src/org/eclipse/mylyn/tasks/ui/editors/RepositoryTaskEditorDropListener.java 2 Feb 2008 16:15:16 -0000 >@@ -21,6 +21,7 @@ > import org.eclipse.swt.dnd.FileTransfer; > import org.eclipse.swt.dnd.TextTransfer; > import org.eclipse.swt.widgets.Control; >+import org.eclipse.swt.widgets.Display; > > /** > * Not API. >@@ -125,7 +126,16 @@ > NewAttachmentWizard naw = new NewAttachmentWizard(this.AbstractTaskEditor.repository, task, new File( > files[0])); > openDialog(naw); >- >+ // TODO bug 205238 show dialog if attempted more than one file to drop >+ if (files.length > 1) { >+ StringBuilder sb = new StringBuilder(); >+ sb.append("Only the first file has been attached:\n"); >+ sb.append(files[0]); >+ sb.append("\n\nPlease attach the remaining files one by one."); >+ MessageDialog.openWarning(Display.getCurrent().getActiveShell(), >+ "Problem attaching more than one file", >+ sb.toString()); >+ } > } > } > }
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 205238
:
79841
| 88671 |
88672
|
90037
|
90038