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 215959 Details for
Bug 380140
[GEF] thread safety issue
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]
A patch proposal
clipboard.txt (text/plain), 1.80 KB, created by
Arnaud MERGEY
on 2012-05-21 09:33:24 EDT
(
hide
)
Description:
A patch proposal
Filename:
MIME Type:
Creator:
Arnaud MERGEY
Created:
2012-05-21 09:33:24 EDT
Size:
1.80 KB
patch
obsolete
>diff --git a/bundles/org.eclipse.rap.gef/src/org/eclipse/gef/editparts/AbstractConnectionEditPart.java b/bundles/org.eclipse.rap.gef/src/org/eclipse/gef/editparts/AbstractConnectionEditPart.java >index d51c53b..0ca991e 100644 >--- a/bundles/org.eclipse.rap.gef/src/org/eclipse/gef/editparts/AbstractConnectionEditPart.java >+++ b/bundles/org.eclipse.rap.gef/src/org/eclipse/gef/editparts/AbstractConnectionEditPart.java >@@ -18,7 +18,6 @@ > import org.eclipse.draw2d.ConnectionAnchor; > import org.eclipse.draw2d.IFigure; > import org.eclipse.draw2d.PolylineConnection; >-import org.eclipse.draw2d.XYAnchor; > import org.eclipse.draw2d.geometry.Point; > > import org.eclipse.gef.AccessibleAnchorProvider; >@@ -29,6 +28,7 @@ > import org.eclipse.gef.LayerConstants; > import org.eclipse.gef.NodeEditPart; > import org.eclipse.gef.Request; >+import org.eclipse.gef.internal.GEFSingleton; > import org.eclipse.gef.tools.SelectEditPartTracker; > > /** >@@ -36,11 +36,6 @@ > */ > public abstract class AbstractConnectionEditPart extends > AbstractGraphicalEditPart implements ConnectionEditPart, LayerConstants { >- >- private static final ConnectionAnchor DEFAULT_SOURCE_ANCHOR = new XYAnchor( >- new Point(10, 10)); >- private static final ConnectionAnchor DEFAULT_TARGET_ANCHOR = new XYAnchor( >- new Point(100, 100)); > > /** > * Provides accessibility support for when connections are also themselves >@@ -189,7 +184,7 @@ > IFigure f = ((GraphicalEditPart) getSource()).getFigure(); > return new ChopboxAnchor(f); > } >- return DEFAULT_SOURCE_ANCHOR; >+ return GEFSingleton.getInstance().getDefaultSourceAnchor(); > } > > /** >@@ -212,7 +207,7 @@ > IFigure f = ((GraphicalEditPart) getTarget()).getFigure(); > return new ChopboxAnchor(f); > } >- return DEFAULT_TARGET_ANCHOR; >+ return GEFSingleton.getInstance().getDefaultTargetAnchor(); > } > > /**
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 380140
: 215959 |
215970
|
228375