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 43527 Details for
Bug 142109
TVT3.2:TCT502: AR: GMF: Tool Tips from the Popup Bar disappears.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch for PopupBarEditPolicy
patchPopupBarEditPolicy.txt (text/plain), 1.57 KB, created by
Tom Macdougall
on 2006-06-05 16:32:16 EDT
(
hide
)
Description:
patch for PopupBarEditPolicy
Filename:
MIME Type:
Creator:
Tom Macdougall
Created:
2006-06-05 16:32:16 EDT
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/editpolicies/PopupBarEditPolicy.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.gmf/plugins/org.eclipse.gmf.runtime.diagram.ui/src/org/eclipse/gmf/runtime/diagram/ui/editpolicies/PopupBarEditPolicy.java,v >retrieving revision 1.6 >diff -u -r1.6 PopupBarEditPolicy.java >--- src/org/eclipse/gmf/runtime/diagram/ui/editpolicies/PopupBarEditPolicy.java 12 May 2006 21:21:54 -0000 1.6 >+++ src/org/eclipse/gmf/runtime/diagram/ui/editpolicies/PopupBarEditPolicy.java 5 Jun 2006 20:31:45 -0000 >@@ -148,6 +148,9 @@ > /** The dragTracker CreationTool associated with the handle * */ > private DragTracker myDragTracker = null; > >+ /** Mirroring issue requires special treatment **/ >+ private boolean mirrored = (getHost().getViewer().getControl().getStyle() & SWT.MIRRORED) != 0; >+ > private Image getDisabledImage() > { > if (myDisabledImage != null) >@@ -223,7 +226,18 @@ > > super.handleMouseEntered(event); > myMouseOver = true; >- repaint(); >+ repaintSpecial(); >+ } >+ >+ private void repaintSpecial() { >+ // Repaint issue workaround >+ if (mirrored) { >+ if (getParent() != null && getParent().getParent() != null) { >+ getParent().getParent().repaint(); >+ } >+ } else { >+ repaint(); >+ } > } > > /** >@@ -234,7 +248,7 @@ > > super.handleMouseExited(event); > myMouseOver = false; >- repaint(); >+ repaintSpecial(); > } > > /**
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 142109
:
41670
|
43527
|
43638
|
44166
|
44429