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
3cfd05d7
Commit
3cfd05d7
authored
13 years ago
by
felmer
Browse files
Options
Downloads
Patches
Plain Diff
LMS-2487 fixed
SVN: 22780
parent
03a1d31b
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
openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/grid/AbstractBrowserGrid.java
+8
-3
8 additions, 3 deletions
...t/web/client/application/ui/grid/AbstractBrowserGrid.java
with
8 additions
and
3 deletions
openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/grid/AbstractBrowserGrid.java
+
8
−
3
View file @
3cfd05d7
...
@@ -134,6 +134,7 @@ import ch.systemsx.cisd.openbis.generic.shared.basic.dto.IEntityPropertiesHolder
...
@@ -134,6 +134,7 @@ import ch.systemsx.cisd.openbis.generic.shared.basic.dto.IEntityPropertiesHolder
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.IEntityProperty
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.IEntityProperty
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.SortInfo
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.SortInfo
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.SortInfo.SortDir
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.SortInfo.SortDir
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.VocabularyTerm
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.WebClientConfiguration
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.WebClientConfiguration
;
/**
/**
...
@@ -1834,6 +1835,11 @@ public abstract class AbstractBrowserGrid<T/* Entity */, M extends BaseEntityMod
...
@@ -1834,6 +1835,11 @@ public abstract class AbstractBrowserGrid<T/* Entity */, M extends BaseEntityMod
}
else
}
else
{
{
showModificationsBar
();
showModificationsBar
();
if
(
value
instanceof
VocabularyTerm
)
{
VocabularyTerm
term
=
(
VocabularyTerm
)
value
;
value
=
term
.
getCode
();
}
tableModificationsManager
.
handleEditingEvent
(
model
,
columnID
,
tableModificationsManager
.
handleEditingEvent
(
model
,
columnID
,
StringUtils
.
toStringOrNull
(
value
));
StringUtils
.
toStringOrNull
(
value
));
}
}
...
@@ -1850,14 +1856,13 @@ public abstract class AbstractBrowserGrid<T/* Entity */, M extends BaseEntityMod
...
@@ -1850,14 +1856,13 @@ public abstract class AbstractBrowserGrid<T/* Entity */, M extends BaseEntityMod
{
{
return
false
;
return
false
;
}
}
/**
/**
* Shows a message that the table cell of specified column and row (model) isn't editable.
* Shows a message that the table cell of specified column and row (model) isn't editable.
*/
*/
protected
void
showNonEditableTableCellMessage
(
M
model
,
String
columnID
)
protected
void
showNonEditableTableCellMessage
(
M
model
,
String
columnID
)
{
{
MessageBox
.
info
(
"Not Editable"
,
MessageBox
.
info
(
"Not Editable"
,
"Sorry, this table cell isn't editable"
,
null
);
"Sorry, this table cell isn't editable"
,
null
);
}
}
/**
/**
...
...
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