Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
6bee87c9
Commit
6bee87c9
authored
Aug 28, 2016
by
Maxime Perrotin
Browse files
Complete signallist update in data dictionary
parent
5924721b
Changes
2
Hide whitespace changes
Inline
Side-by-side
opengeode/opengeode.py
View file @
6bee87c9
...
...
@@ -2243,11 +2243,17 @@ class OG_MainWindow(QtGui.QMainWindow, object):
map
(
lambda
elem
:
change_state
(
elem
,
False
),
(
in_sig
,
out_sig
,
states
,
labels
,
dcl
,
timers
))
for
each
in
context
.
input_signals
:
sort
=
each
.
get
(
'type'
,
''
)
if
sort
:
sort
=
sort
.
ReferencedTypeName
QtGui
.
QTreeWidgetItem
(
in_sig
,
[
each
[
'name'
],
each
.
get
(
'type'
,
''
)
])
sort
])
for
each
in
context
.
output_signals
:
sort
=
each
.
get
(
'type'
,
''
)
if
sort
:
sort
=
sort
.
ReferencedTypeName
QtGui
.
QTreeWidgetItem
(
out_sig
,
[
each
[
'name'
],
each
.
get
(
'type'
,
''
)
])
sort
])
for
each
in
sorted
(
context
.
mapping
.
viewkeys
()):
QtGui
.
QTreeWidgetItem
(
states
,
[
each
,])
for
each
in
context
.
labels
:
...
...
opengeode/sdlSymbols.py
View file @
6bee87c9
...
...
@@ -844,6 +844,8 @@ class TextSymbol(HorizontalSymbol):
try
:
Signalroute
.
completion_list
|=
set
(
sig
[
'name'
]
for
sig
in
ast
.
signals
)
# Here: update input signals of the process AST since the
# signature of the signals may have changed...TODO
CONTEXT
.
signals
+=
ast
.
signals
except
AttributeError
:
# no AST, e.g. in case of syntax errors in the text area
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment