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 4576 Details for
Bug 35540
[Viewers] [DND] Insert feedback in ViewerDropAdapter not longer working
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Recommended fix (path file)
vieweradapter.diff (text/plain), 1.43 KB, created by
John Arthorne
on 2003-04-14 11:30:34 EDT
(
hide
)
Description:
Recommended fix (path file)
Filename:
MIME Type:
Creator:
John Arthorne
Created:
2003-04-14 11:30:34 EDT
Size:
1.43 KB
patch
obsolete
>Index: ViewerDropAdapter.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jface/src/org/eclipse/jface/viewers/ViewerDropAdapter.java,v >retrieving revision 1.5 >diff -u -r1.5 ViewerDropAdapter.java >--- ViewerDropAdapter.java 27 Mar 2003 17:27:02 -0000 1.5 >+++ ViewerDropAdapter.java 14 Apr 2003 15:31:26 -0000 >@@ -362,22 +362,22 @@ > * that it is still enabled. > */ > private void setFeedback(DropTargetEvent event, int location) { >- if (scrollExpandEnabled) >+ if (feedbackEnabled) { >+ switch (location) { >+ case LOCATION_BEFORE: >+ event.feedback = DND.FEEDBACK_INSERT_BEFORE; >+ break; >+ case LOCATION_AFTER: >+ event.feedback = DND.FEEDBACK_INSERT_AFTER; >+ break; >+ case LOCATION_ON: >+ default: >+ event.feedback = DND.FEEDBACK_SELECT; >+ break; >+ } >+ } >+ if (scrollExpandEnabled) > event.feedback |= DND.FEEDBACK_EXPAND | DND.FEEDBACK_SCROLL; >- if (feedbackEnabled) { >- switch (location) { >- case LOCATION_BEFORE: >- event.feedback |= DND.FEEDBACK_INSERT_BEFORE; >- break; >- case LOCATION_AFTER: >- event.feedback |= DND.FEEDBACK_INSERT_AFTER; >- break; >- case LOCATION_ON: >- default: >- event.feedback |= DND.FEEDBACK_SELECT; >- break; >- } >- } > } > /** > * Sets whether visible insertion feedback should be presented to the user.
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 Raw
Actions:
View
Attachments on
bug 35540
: 4576