Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
404b3bb5
Commit
404b3bb5
authored
5 years ago
by
Loïc Correnson
Browse files
Options
Downloads
Patches
Plain Diff
[ivette/labviews] override item group
parent
896d9f23
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ivette/src/frama-c/labviews.js
+2
-1
2 additions, 1 deletion
ivette/src/frama-c/labviews.js
ivette/src/renderer/Application.js
+2
-2
2 additions, 2 deletions
ivette/src/renderer/Application.js
with
4 additions
and
3 deletions
ivette/src/frama-c/labviews.js
+
2
−
1
View file @
404b3bb5
...
@@ -41,7 +41,7 @@ class Library {
...
@@ -41,7 +41,7 @@ class Library {
}
}
}
}
useItem
(
id
,
g
roup
,
path
,
props
)
{
useItem
(
id
,
g
context
,
path
,
props
)
{
if
(
!
this
.
modified
)
{
if
(
!
this
.
modified
)
{
this
.
modified
=
true
;
this
.
modified
=
true
;
setImmediate
(()
=>
this
.
commit
());
setImmediate
(()
=>
this
.
commit
());
...
@@ -50,6 +50,7 @@ class Library {
...
@@ -50,6 +50,7 @@ class Library {
let
order
=
props
.
rank
===
undefined
let
order
=
props
.
rank
===
undefined
?
path
?
path
:
path
.
slice
(
0
,
-
1
).
concat
([
props
.
rank
]);
:
path
.
slice
(
0
,
-
1
).
concat
([
props
.
rank
]);
let
group
=
props
.
group
||
gcontext
;
let
collection
=
this
.
virtual
;
let
collection
=
this
.
virtual
;
collection
[
id
]
=
Object
.
assign
(
{
id
,
order
,
group
},
props
);
collection
[
id
]
=
Object
.
assign
(
{
id
,
order
,
group
},
props
);
return
()
=>
delete
collection
[
id
];
return
()
=>
delete
collection
[
id
];
...
...
This diff is collapsed.
Click to expand it.
ivette/src/renderer/Application.js
+
2
−
2
View file @
404b3bb5
...
@@ -53,8 +53,8 @@ export default (function() {
...
@@ -53,8 +53,8 @@ export default (function() {
<
View
id
=
'
default
'
label
=
'
Dashboard
'
defaultView
>
<
View
id
=
'
default
'
label
=
'
Dashboard
'
defaultView
>
<
GridItem
id
=
'
frama-c.console
'
/>
<
GridItem
id
=
'
frama-c.console
'
/>
<
/View
>
<
/View
>
<
Group
id
=
'
frama-c
'
label
=
'
Frama-C
'
title
=
'
Frama-C Kernel Components
'
/>
<
Component
id
=
'
frama-c.console
'
label
=
'
Console
'
>
<
Component
id
=
'
frama-c.console
'
group
=
'
frama-c
'
label
=
'
Console
'
>
<
Controller
.
Console
/>
<
Controller
.
Console
/>
<
/Component
>
<
/Component
>
<
/LabView
>
<
/LabView
>
...
...
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