Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NomadGUI
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Instrument Control
NomadGUI
Commits
7ffab573
Commit
7ffab573
authored
4 years ago
by
helene ortiz
Browse files
Options
Downloads
Patches
Plain Diff
* Keep arrow down and up for combo boxes, add CTRL key to move down/up
among command boxes.
parent
c1cf8cb4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+2
-0
2 additions, 0 deletions
ChangeLog
src/main/java/fr/ill/ics/client/view/dnd/swt/SWTDndManager.java
+6
-2
6 additions, 2 deletions
...in/java/fr/ill/ics/client/view/dnd/swt/SWTDndManager.java
with
8 additions
and
2 deletions
ChangeLog
+
2
−
0
View file @
7ffab573
...
...
@@ -5,6 +5,8 @@
* Fix bug: PAL and XBU files were not read properly.
* Fix bug: when synchronizing view state of launchpad (among box view or text view), also synchronize swithview button icon.
* Fix bug: delete of an unknown command box in the launch pad did not delete it on server side.
* Keep arrow down and up for combo boxes, add CTRL key to move down/up among command boxes.
4.0.60 26/08/2020
------
...
...
This diff is collapsed.
Click to expand it.
src/main/java/fr/ill/ics/client/view/dnd/swt/SWTDndManager.java
+
6
−
2
View file @
7ffab573
...
...
@@ -89,10 +89,14 @@ public class SWTDndManager extends DndManager {
setCursor
(
display
.
getActiveShell
(),
currentCopyCursor
);
}
}
if
(
MainWindow
.
getInstance
().
getCurrentSelectionPlugin
().
isCommandsSelectionPlugin
())
{
if
(
event
.
keyCode
==
SWT
.
ARROW_DOWN
||
event
.
keyCode
==
SWT
.
ARROW_UP
||
event
.
keyCode
==
SWT
.
ARROW_LEFT
||
event
.
keyCode
==
SWT
.
ARROW_RIGHT
)
{
CommandWindow
.
getInstance
().
onArrow
(
ctrlActive
,
event
.
keyCode
);
if
(
ctrlActive
)
{
// Keep arrow down and up for combo boxes
// Add CTRL key to move down/up among command boxes
CommandWindow
.
getInstance
().
onArrow
(
ctrlActive
,
event
.
keyCode
);
}
}
else
if
(
ctrlActive
&&
(
event
.
keyCode
==
SWT
.
HOME
||
event
.
keyCode
==
SWT
.
END
))
{
CommandWindow
.
getInstance
().
onHomeEnd
(
event
.
keyCode
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment