Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
b65a6911
Commit
b65a6911
authored
13 years ago
by
tpylak
Browse files
Options
Downloads
Patches
Plain Diff
LMS-2355 minor: increase AP combobox width
SVN: 22214
parent
bfc1bb49
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/client/application/detailviewers/AnalysisProcedureChooser.java
+12
-6
12 additions, 6 deletions
...t/application/detailviewers/AnalysisProcedureChooser.java
with
12 additions
and
6 deletions
screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/client/application/detailviewers/AnalysisProcedureChooser.java
+
12
−
6
View file @
b65a6911
...
...
@@ -50,6 +50,10 @@ import ch.systemsx.cisd.openbis.plugin.screening.shared.basic.dto.WellSearchCrit
class
AnalysisProcedureChooser
extends
LayoutContainer
{
private
static
final
int
COMBOX_WIDTH_PX
=
320
;
private
static
final
int
PANEL_WIDTH_PX
=
COMBOX_WIDTH_PX
+
40
;
/**
* Can be used from external classes wishing to be notified when the analysis procedure
* selection changes.
...
...
@@ -77,7 +81,7 @@ class AnalysisProcedureChooser extends LayoutContainer
{
final
VerticalPanel
layoutPanel
=
new
VerticalPanel
();
layoutPanel
.
setWidth
(
200
);
layoutPanel
.
setWidth
(
PANEL_WIDTH_PX
);
return
new
AnalysisProcedureChooser
(
viewContext
,
experimentCriteriaHolder
,
selectedAnalysisProcedureOrNull
,
selectionListener
,
layoutPanel
);
}
...
...
@@ -85,6 +89,7 @@ class AnalysisProcedureChooser extends LayoutContainer
private
final
static
String
ANY_ANALYSIS_PROCEDURE
=
"Any"
;
private
final
IViewContext
<
IScreeningClientServiceAsync
>
viewContext
;
private
final
IAnalysisProcedureSelectionListener
selectionListener
;
private
final
ExperimentSearchCriteriaHolder
experimentCriteriaHolder
;
...
...
@@ -158,7 +163,7 @@ class AnalysisProcedureChooser extends LayoutContainer
{
SimpleComboBox
<
String
>
comboBox
=
new
SimpleComboBox
<
String
>();
comboBox
.
setWidth
(
160
);
comboBox
.
setWidth
(
COMBOX_WIDTH_PX
);
comboBox
.
setTriggerAction
(
TriggerAction
.
ALL
);
comboBox
.
setAllowBlank
(
false
);
comboBox
.
setEditable
(
false
);
...
...
@@ -236,10 +241,11 @@ class AnalysisProcedureChooser extends LayoutContainer
private
void
notifySelectionListener
(
String
analysisProcedureOrNull
)
{
AnalysisProcedureCriteria
criteria
=
StringUtils
.
isBlank
(
analysisProcedureOrNull
)
?
AnalysisProcedureCriteria
.
createAllProcedures
()
:
AnalysisProcedureCriteria
.
createFromCode
(
analysisProcedureOrNull
);
AnalysisProcedureCriteria
criteria
=
StringUtils
.
isBlank
(
analysisProcedureOrNull
)
?
AnalysisProcedureCriteria
.
createAllProcedures
()
:
AnalysisProcedureCriteria
.
createFromCode
(
analysisProcedureOrNull
);
selectionListener
.
analysisProcedureSelected
(
criteria
);
}
...
...
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