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
a3258c74
Commit
a3258c74
authored
14 years ago
by
tpylak
Browse files
Options
Downloads
Patches
Plain Diff
minor: do not show material type in the well tooltip
SVN: 18181
parent
f5a171d4
No related branches found
No related tags found
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/PlateLayouter.java
+13
-1
13 additions, 1 deletion
...t/web/client/application/detailviewers/PlateLayouter.java
with
13 additions
and
1 deletion
screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/client/application/detailviewers/PlateLayouter.java
+
13
−
1
View file @
a3258c74
...
@@ -317,7 +317,7 @@ public class PlateLayouter
...
@@ -317,7 +317,7 @@ public class PlateLayouter
for
(
IEntityProperty
property
:
properties
)
for
(
IEntityProperty
property
:
properties
)
{
{
PropertyType
propertyType
=
property
.
getPropertyType
();
PropertyType
propertyType
=
property
.
getPropertyType
();
tooltip
+=
"<br>"
+
propertyType
.
getLabel
()
+
": "
+
p
roperty
.
tryGetAsString
(
);
tooltip
+=
"<br>"
+
propertyType
.
getLabel
()
+
": "
+
getP
roperty
DisplayText
(
property
);
Material
material
=
property
.
getMaterial
();
Material
material
=
property
.
getMaterial
();
if
(
material
!=
null
if
(
material
!=
null
&&
material
.
getMaterialType
().
getCode
()
&&
material
.
getMaterialType
().
getCode
()
...
@@ -338,6 +338,18 @@ public class PlateLayouter
...
@@ -338,6 +338,18 @@ public class PlateLayouter
}
}
private
static
String
getPropertyDisplayText
(
IEntityProperty
property
)
{
Material
material
=
property
.
getMaterial
();
if
(
material
!=
null
)
{
return
material
.
getCode
();
}
else
{
return
property
.
tryGetAsString
();
}
}
private
static
String
getWellDescription
(
WellMetadata
metadata
)
private
static
String
getWellDescription
(
WellMetadata
metadata
)
{
{
return
"Well: "
+
metadata
.
getWellSample
().
getSubCode
();
return
"Well: "
+
metadata
.
getWellSample
().
getSubCode
();
...
...
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