Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
ScanServerBeans
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software Control System
Gui
TangoBeans
ScanServerBeans
Commits
0dc9a2af
Commit
0dc9a2af
authored
Aug 3, 2022
by
Raphael GIRARDOT
Browse files
Options
Downloads
Patches
Plain Diff
scanServerLabel must not be static
parent
ae4edf55
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ScanServerStatusBar/src/main/java/fr/soleil/bean/scanserver/ScanServerStatusBar.java
+7
-7
7 additions, 7 deletions
...n/java/fr/soleil/bean/scanserver/ScanServerStatusBar.java
with
7 additions
and
7 deletions
ScanServerStatusBar/src/main/java/fr/soleil/bean/scanserver/ScanServerStatusBar.java
+
7
−
7
View file @
0dc9a2af
...
@@ -49,14 +49,14 @@ import fr.soleil.model.scanserver.CurrentScanDataModel;
...
@@ -49,14 +49,14 @@ import fr.soleil.model.scanserver.CurrentScanDataModel;
*/
*/
public
class
ScanServerStatusBar
extends
AbstractTangoBox
{
public
class
ScanServerStatusBar
extends
AbstractTangoBox
{
private
static
final
long
serialVersionUID
=
-
1761729788819376572
L
;
private
static
final
long
serialVersionUID
=
-
6600067056280163015
L
;
/**
/**
* small Font
* small Font
*/
*/
private
static
final
CometeFont
SMALL_FONT
=
new
CometeFont
(
"Dialog"
,
Font
.
PLAIN
,
10
);
private
static
final
CometeFont
SMALL_FONT
=
new
CometeFont
(
Font
.
DIALOG
,
Font
.
PLAIN
,
10
);
private
static
final
JButton
SCAN_SERVER_LABEL
=
new
JButton
();
private
final
JButton
scanServerLabel
=
new
JButton
();
/**
/**
* Map of Label
* Map of Label
...
@@ -156,10 +156,10 @@ public class ScanServerStatusBar extends AbstractTangoBox {
...
@@ -156,10 +156,10 @@ public class ScanServerStatusBar extends AbstractTangoBox {
cell00
.
gridy
=
0
;
cell00
.
gridy
=
0
;
cell00
.
gridwidth
=
2
;
cell00
.
gridwidth
=
2
;
cell00
.
insets
=
defaultInset
;
cell00
.
insets
=
defaultInset
;
add
(
SCAN_SERVER_LABEL
,
cell00
);
add
(
scanServerLabel
,
cell00
);
SCAN_SERVER_LABEL
.
setToolTipText
(
"Open control panel"
);
scanServerLabel
.
setToolTipText
(
"Open control panel"
);
SCAN_SERVER_LABEL
.
addActionListener
(
new
ActionListener
()
{
scanServerLabel
.
addActionListener
(
new
ActionListener
()
{
@Override
@Override
public
void
actionPerformed
(
ActionEvent
e
)
{
public
void
actionPerformed
(
ActionEvent
e
)
{
...
@@ -461,7 +461,7 @@ public class ScanServerStatusBar extends AbstractTangoBox {
...
@@ -461,7 +461,7 @@ public class ScanServerStatusBar extends AbstractTangoBox {
setWidgetModel
(
statusField
,
stringBox
,
generateAttributeKey
(
"Status"
));
setWidgetModel
(
statusField
,
stringBox
,
generateAttributeKey
(
"Status"
));
setStateModel
();
setStateModel
();
SCAN_SERVER_LABEL
.
setText
(
model
);
scanServerLabel
.
setText
(
model
);
labelMap
.
get
(
CurrentScanDataModel
.
SCAN_STATE
).
setToolTipText
(
model
);
labelMap
.
get
(
CurrentScanDataModel
.
SCAN_STATE
).
setToolTipText
(
model
);
Set
<
String
>
keySet
=
labelMap
.
keySet
();
Set
<
String
>
keySet
=
labelMap
.
keySet
();
Iterator
<
String
>
keyIterator
=
keySet
.
iterator
();
Iterator
<
String
>
keyIterator
=
keySet
.
iterator
();
...
...
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