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 132173 Details for
Bug 267849
[ui] Can't drag URL into "Add Site" dialog's location field
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]
o.e.equinox.p2.ui patch
clipboard.txt (text/plain), 1.51 KB, created by
Ian Bull
on 2009-04-17 02:04:27 EDT
(
hide
)
Description:
o.e.equinox.p2.ui patch
Filename:
MIME Type:
Creator:
Ian Bull
Created:
2009-04-17 02:04:27 EDT
Size:
1.51 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.equinox.p2.ui >Index: src/org/eclipse/equinox/internal/p2/ui/dialogs/TextURLDropAdapter.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.equinox/p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/TextURLDropAdapter.java,v >retrieving revision 1.2 >diff -u -r1.2 TextURLDropAdapter.java >--- src/org/eclipse/equinox/internal/p2/ui/dialogs/TextURLDropAdapter.java 7 Oct 2008 23:04:41 -0000 1.2 >+++ src/org/eclipse/equinox/internal/p2/ui/dialogs/TextURLDropAdapter.java 17 Apr 2009 06:01:03 -0000 >@@ -11,7 +11,6 @@ > > package org.eclipse.equinox.internal.p2.ui.dialogs; > >- > import org.eclipse.swt.dnd.DND; > import org.eclipse.swt.dnd.DropTargetEvent; > import org.eclipse.swt.widgets.Text; >@@ -29,12 +28,25 @@ > this.text = text; > } > >+ public void dragEnter(DropTargetEvent e) { >+ if (e.detail == DND.DROP_NONE) >+ e.detail = DND.DROP_LINK; >+ } >+ >+ public void dragOperationChanged(DropTargetEvent e) { >+ if (e.detail == DND.DROP_NONE) >+ e.detail = DND.DROP_LINK; >+ } >+ > /* (non-Javadoc) > * @see org.eclipse.equinox.internal.provisional.p2.ui.dialogs.URLDropAdapter#handleURLString(java.lang.String, org.eclipse.swt.dnd.DropTargetEvent) > */ > protected void handleDrop(String urlText, DropTargetEvent event) { >- text.setText(urlText); >- event.detail = DND.DROP_LINK; >+ if (event.data == null) { >+ event.detail = DND.DROP_NONE; >+ return; >+ } >+ text.setText(((String) event.data)); > } > > }
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 267849
: 132173 |
132174