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 54500 Details for
Bug 165826
RootEditPart should never have focus for GraphicalViewer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch
Patch_Bugzilla165826 (text/plain), 1.57 KB, created by
Alex Boyko
on 2006-11-24 16:33:31 EST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Alex Boyko
Created:
2006-11-24 16:33:31 EST
Size:
1.57 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.gmf.runtime.diagram.ui >Index: src/org/eclipse/gmf/runtime/diagram/ui/internal/tools/RubberbandSelectionTool.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.gmf/plugins/org.eclipse.gmf.runtime.diagram.ui/src/org/eclipse/gmf/runtime/diagram/ui/internal/tools/RubberbandSelectionTool.java,v >retrieving revision 1.6 >diff -u -r1.6 RubberbandSelectionTool.java >--- src/org/eclipse/gmf/runtime/diagram/ui/internal/tools/RubberbandSelectionTool.java 3 Oct 2006 15:02:05 -0000 1.6 >+++ src/org/eclipse/gmf/runtime/diagram/ui/internal/tools/RubberbandSelectionTool.java 24 Nov 2006 21:31:49 -0000 >@@ -281,7 +281,7 @@ > > /** > * Effectively clears the current focus edit part by deliberately setting the >- * diagram root edit part as the focus. This ensures that the rubber band >+ * diagram contents edit part as the focus. This ensures that the rubber band > * won't mistakenly select the selectable compartments and items in the current > * focus edit part. > */ >@@ -289,10 +289,10 @@ > EditPart focusPart = getCurrentViewer().getFocusEditPart(); > > if (focusPart != null) { >- // replace the current focus with the root edit part, which effectively >+ // replace the current focus with the contents edit part, which effectively > // blocks unwanted selectability of compartments within the previous > // focus edit part >- getCurrentViewer().setFocus(getCurrentViewer().getRootEditPart()); >+ getCurrentViewer().setFocus(getCurrentViewer().getContents()); > } > } >
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 165826
: 54500