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 286441 Details for
Bug 573716
[CDateTime] Exception if using CDateTime widget in NatTable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
fix for FocusOut bug in MacOS
nebula.widgets.nattable.patch (text/plain), 2.04 KB, created by
Ralf Heydenreich
on 2021-05-23 16:49:32 EDT
(
hide
)
Description:
fix for FocusOut bug in MacOS
Filename:
MIME Type:
Creator:
Ralf Heydenreich
Created:
2021-05-23 16:49:32 EDT
Size:
2.04 KB
patch
obsolete
>diff --git a/org.eclipse.nebula.widgets.nattable.extension.nebula/src/org/eclipse/nebula/widgets/nattable/extension/nebula/cdatetime/CDateTimeCellEditor.java b/org.eclipse.nebula.widgets.nattable.extension.nebula/src/org/eclipse/nebula/widgets/nattable/extension/nebula/cdatetime/CDateTimeCellEditor.java >index cbf094d..e51e599 100644 >--- a/org.eclipse.nebula.widgets.nattable.extension.nebula/src/org/eclipse/nebula/widgets/nattable/extension/nebula/cdatetime/CDateTimeCellEditor.java >+++ b/org.eclipse.nebula.widgets.nattable.extension.nebula/src/org/eclipse/nebula/widgets/nattable/extension/nebula/cdatetime/CDateTimeCellEditor.java >@@ -176,8 +176,33 @@ > } > > @Override >+ protected void postClose(Shell popup) { >+ if (CDateTimeCellEditor.this.focusListener instanceof InlineFocusListener) { >+ ((InlineFocusListener) CDateTimeCellEditor.this.focusListener).handleFocusChanges = true; >+ } >+ super.postClose(popup); >+ } >+ >+ @Override >+ public void setOpen(boolean open) { >+ if (CDateTimeCellEditor.this.focusListener instanceof InlineFocusListener) { >+ ((InlineFocusListener) CDateTimeCellEditor.this.focusListener).handleFocusChanges = false; >+ } >+ super.setOpen(open); >+ } >+ >+ @Override >+ public void setOpen(boolean open, Runnable callback) { >+ if (CDateTimeCellEditor.this.focusListener instanceof InlineFocusListener) { >+ ((InlineFocusListener) CDateTimeCellEditor.this.focusListener).handleFocusChanges = false; >+ } >+ super.setOpen(open, callback); >+ } >+ >+ @Override > protected void addTextListener() { > super.addTextListener(); >+ > this.text.getControl().addTraverseListener(event -> { > boolean committed = false; > if (event.keyCode == SWT.TAB && event.stateMask == SWT.MOD2) {
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 573716
: 286441