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
fa509e58
Commit
fa509e58
authored
15 years ago
by
felmer
Browse files
Options
Downloads
Patches
Plain Diff
LMS-1343 add ID for toggle button on right hand detail sections
SVN: 14329
parent
3dda986a
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
openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/widget/SectionsPanel.java
+5
-1
5 additions, 1 deletion
...lient/web/client/application/ui/widget/SectionsPanel.java
with
5 additions
and
1 deletion
openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/widget/SectionsPanel.java
+
5
−
1
View file @
fa509e58
...
...
@@ -27,6 +27,8 @@ import ch.systemsx.cisd.openbis.generic.client.web.client.application.framework.
*/
public
class
SectionsPanel
extends
ContentPanel
{
public
static
final
String
PART_OF_TOGGLE_BUTTON_ID
=
"_button_"
;
List
<
SectionElement
>
elements
=
new
ArrayList
<
SectionElement
>();
private
final
ToolBar
toolbar
;
...
...
@@ -40,7 +42,7 @@ public class SectionsPanel extends ContentPanel
this
(
true
,
viewContext
);
}
p
ublic
SectionsPanel
(
boolean
withShowHide
,
IViewContext
<
ICommonClientServiceAsync
>
viewContext
)
p
rivate
SectionsPanel
(
boolean
withShowHide
,
IViewContext
<
ICommonClientServiceAsync
>
viewContext
)
{
this
.
withShowHide
=
withShowHide
;
this
.
viewContext
=
viewContext
;
...
...
@@ -213,6 +215,7 @@ public class SectionsPanel extends ContentPanel
private
class
SectionElement
{
private
final
ToggleButton
button
;
private
SingleSectionPanel
panel
;
...
...
@@ -256,6 +259,7 @@ public class SectionsPanel extends ContentPanel
final
String
displayId
)
{
final
ToggleButton
result
=
new
ToggleButton
(
getHeading
(
heading
,
pressed
));
result
.
setId
(
displayId
+
PART_OF_TOGGLE_BUTTON_ID
+
heading
);
initializePressedState
(
result
,
pressed
);
// when user clicks toggle button we store changed settings
...
...
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