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 45024 Details for
Bug 148097
Drag action on GEF logic diagram does not respect Snap to Geometry menu setting
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 for DragEditPartsTracker.txt
patchDragEditPartsTracker.txt (text/plain), 1.34 KB, created by
Tom Macdougall
on 2006-06-21 15:14:00 EDT
(
hide
)
Description:
patch for DragEditPartsTracker.txt
Filename:
MIME Type:
Creator:
Tom Macdougall
Created:
2006-06-21 15:14:00 EDT
Size:
1.34 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.gef >Index: src/org/eclipse/gef/tools/DragEditPartsTracker.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.gef/src/org/eclipse/gef/tools/DragEditPartsTracker.java,v >retrieving revision 1.51 >diff -u -r1.51 DragEditPartsTracker.java >--- src/org/eclipse/gef/tools/DragEditPartsTracker.java 18 Apr 2006 18:02:23 -0000 1.51 >+++ src/org/eclipse/gef/tools/DragEditPartsTracker.java 21 Jun 2006 19:03:51 -0000 >@@ -34,6 +34,7 @@ > import org.eclipse.gef.Request; > import org.eclipse.gef.RequestConstants; > import org.eclipse.gef.SharedCursors; >+import org.eclipse.gef.SnapToGeometry; > import org.eclipse.gef.SnapToHelper; > import org.eclipse.gef.commands.Command; > import org.eclipse.gef.commands.CompoundCommand; >@@ -599,7 +600,7 @@ > request.getExtendedData().clear(); > request.setMoveDelta(moveDelta); > >- if (snapToHelper != null && !getCurrentInput().isModKeyDown(MODIFIER_IGNORE_SNAP)) { >+ if (snapToHelper != null && !getCurrentInput().isModKeyDown(MODIFIER_IGNORE_SNAP) && ((Boolean) getCurrentViewer().getProperty(SnapToGeometry.PROPERTY_SNAP_ENABLED)).booleanValue()) { > PrecisionRectangle baseRect = sourceRectangle.getPreciseCopy(); > PrecisionRectangle jointRect = compoundSrcRect.getPreciseCopy(); > baseRect.translate(moveDelta);
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 148097
: 45024