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
a20d5bf3
Commit
a20d5bf3
authored
14 years ago
by
tpylak
Browse files
Options
Downloads
Patches
Plain Diff
minor UI improvement
SVN: 18955
parent
49513bf6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
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/WellContentDialog.java
+6
-16
6 additions, 16 deletions
...b/client/application/detailviewers/WellContentDialog.java
with
6 additions
and
16 deletions
screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/client/application/detailviewers/WellContentDialog.java
+
6
−
16
View file @
a20d5bf3
...
...
@@ -29,7 +29,6 @@ import com.extjs.gxt.ui.client.event.Listener;
import
com.extjs.gxt.ui.client.event.SelectionListener
;
import
com.extjs.gxt.ui.client.event.SelectionProvider
;
import
com.extjs.gxt.ui.client.util.Rectangle
;
import
com.extjs.gxt.ui.client.widget.ContentPanel
;
import
com.extjs.gxt.ui.client.widget.Dialog
;
import
com.extjs.gxt.ui.client.widget.Html
;
import
com.extjs.gxt.ui.client.widget.LayoutContainer
;
...
...
@@ -397,7 +396,7 @@ public class WellContentDialog extends Dialog
private
final
IViewContext
<
IScreeningClientServiceAsync
>
viewContext
;
private
SelectionProvider
<
SimpleComboValue
<
String
>>
s
electionProvider
;
private
SelectionProvider
<
SimpleComboValue
<
String
>>
channelS
electionProvider
;
private
String
datasetCode
;
...
...
@@ -419,14 +418,6 @@ public class WellContentDialog extends Dialog
setHideOnButtonClick
(
true
);
setHeading
(
WELL_LABEL
+
getWellDescription
());
setTopComponent
(
createContentDescription
());
// setLayout(new RowLayout());
//
// BorderLayoutData layoutData = new BorderLayoutData(LayoutRegion.WEST, 200, 20, 2000);
// layoutData.setCollapsible(true);
// layoutData.setHideCollapseTool(false);
// layoutData.setSplit(true);
// layoutData.setFloatable(true);
// add(createContentDescription(), layoutData);
addListener
(
Events
.
Show
,
new
Listener
<
BaseEvent
>()
{
...
...
@@ -474,10 +465,11 @@ public class WellContentDialog extends Dialog
viewContext
.
getModel
().
getSessionContext
()
.
getSessionID
();
urlParams
.
addParameter
(
"session"
,
sessionToken
);
if
(
s
electionProvider
!=
null
)
if
(
channelS
electionProvider
!=
null
)
{
urlParams
.
addParameter
(
ParameterNames
.
CHANNEL
,
selectionProvider
.
getSelection
().
get
(
0
).
getValue
());
channelSelectionProvider
.
getSelection
().
get
(
0
)
.
getValue
());
}
urlParams
.
addParameter
(
ParameterNames
.
DATA_SET_AND_WELLS
,
datasetCode
+
":"
+
wellLocationOrNull
.
getRow
()
+
"."
...
...
@@ -496,7 +488,7 @@ public class WellContentDialog extends Dialog
private
void
setChannelChooser
(
final
SelectionProvider
<
SimpleComboValue
<
String
>>
selectionProvider
)
{
this
.
s
electionProvider
=
selectionProvider
;
this
.
channelS
electionProvider
=
selectionProvider
;
}
private
void
setDataSetCode
(
String
datasetCode
)
...
...
@@ -506,8 +498,6 @@ public class WellContentDialog extends Dialog
private
void
addImageView
(
LayoutContainer
component
)
{
// BorderLayoutData layoutData = new BorderLayoutData(LayoutRegion.CENTER);
// add(component, layoutData);
add
(
component
);
}
...
...
@@ -524,7 +514,7 @@ public class WellContentDialog extends Dialog
private
LayoutContainer
createContentDescription
()
{
final
ContentPa
ne
l
container
=
new
ContentPa
ne
l
();
final
LayoutContai
ne
r
container
=
new
LayoutContai
ne
r
();
TableLayout
tableLayout
=
new
TableLayout
(
2
);
tableLayout
.
setCellPadding
(
3
);
container
.
setLayout
(
tableLayout
);
...
...
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