Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
f229476c
Commit
f229476c
authored
Jul 08, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display of time attribues added
parent
7ceb2f46
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
4 deletions
+38
-4
java/jpwr/jop/src/GeDynTable.java
java/jpwr/jop/src/GeDynTable.java
+19
-2
src/jpwr/jop/src/GeDynTable.java
src/jpwr/jop/src/GeDynTable.java
+19
-2
No files found.
java/jpwr/jop/src/GeDynTable.java
View file @
f229476c
...
...
@@ -50,7 +50,20 @@ public class GeDynTable extends GeDynElem {
for
(
int
i
=
0
;
i
<
columns
;
i
++)
{
String
attrName
=
dyn
.
getAttrName
(
attribute
[
i
]);
if
(
attrName
.
compareTo
(
""
)
!=
0
)
{
if
(
attrName
.
startsWith
(
"$header."
))
{
// NYI TODO !!!
// Replace $header with the object in the header column
String
hName
=
dyn
.
getAttrName
(
attribute
[
0
]);
CdhrString
cstr
=
dyn
.
en
.
gdh
.
getObjectInfoString
(
hName
);
if
(
cstr
.
evenSts
())
continue
;
attrName
=
cstr
.
str
+
attrName
.
substring
(
7
);
continue
;
}
GdhrRefObjectInfo
ret
=
dyn
.
en
.
gdh
.
refObjectInfo
(
attrName
);
if
(
ret
.
evenSts
())
{
System
.
out
.
println
(
"Table: "
+
attrName
);
...
...
@@ -80,7 +93,9 @@ public class GeDynTable extends GeDynElem {
oldValueI
[
i
]
=
new
int
[
rows
];
}
else
if
(
typeId
[
i
]
==
Pwr
.
eType_String
||
typeId
[
i
]
==
Pwr
.
eType_Objid
)
{
typeId
[
i
]
==
Pwr
.
eType_Objid
||
typeId
[
i
]
==
Pwr
.
eType_Time
||
typeId
[
i
]
==
Pwr
.
eType_DeltaTime
)
{
oldValueS
[
i
]
=
new
String
[
rows
];
}
}
...
...
@@ -146,7 +161,9 @@ public class GeDynTable extends GeDynElem {
}
}
else
if
(
typeId
[
i
]
==
Pwr
.
eType_String
||
typeId
[
i
]
==
Pwr
.
eType_Objid
)
{
typeId
[
i
]
==
Pwr
.
eType_Objid
||
typeId
[
i
]
==
Pwr
.
eType_Time
||
typeId
[
i
]
==
Pwr
.
eType_DeltaTime
)
{
String
[]
value0
=
dyn
.
en
.
gdh
.
getObjectRefInfoStringArray
(
p
[
i
],
typeId
[
i
],
size
[
i
],
elements
[
i
]);
for
(
int
j
=
0
;
j
<
value0
.
length
;
j
++)
{
if
(
j
>=
rows
)
...
...
src/jpwr/jop/src/GeDynTable.java
View file @
f229476c
...
...
@@ -50,7 +50,20 @@ public class GeDynTable extends GeDynElem {
for
(
int
i
=
0
;
i
<
columns
;
i
++)
{
String
attrName
=
dyn
.
getAttrName
(
attribute
[
i
]);
if
(
attrName
.
compareTo
(
""
)
!=
0
)
{
if
(
attrName
.
startsWith
(
"$header."
))
{
// NYI TODO !!!
// Replace $header with the object in the header column
String
hName
=
dyn
.
getAttrName
(
attribute
[
0
]);
CdhrString
cstr
=
dyn
.
en
.
gdh
.
getObjectInfoString
(
hName
);
if
(
cstr
.
evenSts
())
continue
;
attrName
=
cstr
.
str
+
attrName
.
substring
(
7
);
continue
;
}
GdhrRefObjectInfo
ret
=
dyn
.
en
.
gdh
.
refObjectInfo
(
attrName
);
if
(
ret
.
evenSts
())
{
System
.
out
.
println
(
"Table: "
+
attrName
);
...
...
@@ -80,7 +93,9 @@ public class GeDynTable extends GeDynElem {
oldValueI
[
i
]
=
new
int
[
rows
];
}
else
if
(
typeId
[
i
]
==
Pwr
.
eType_String
||
typeId
[
i
]
==
Pwr
.
eType_Objid
)
{
typeId
[
i
]
==
Pwr
.
eType_Objid
||
typeId
[
i
]
==
Pwr
.
eType_Time
||
typeId
[
i
]
==
Pwr
.
eType_DeltaTime
)
{
oldValueS
[
i
]
=
new
String
[
rows
];
}
}
...
...
@@ -146,7 +161,9 @@ public class GeDynTable extends GeDynElem {
}
}
else
if
(
typeId
[
i
]
==
Pwr
.
eType_String
||
typeId
[
i
]
==
Pwr
.
eType_Objid
)
{
typeId
[
i
]
==
Pwr
.
eType_Objid
||
typeId
[
i
]
==
Pwr
.
eType_Time
||
typeId
[
i
]
==
Pwr
.
eType_DeltaTime
)
{
String
[]
value0
=
dyn
.
en
.
gdh
.
getObjectRefInfoStringArray
(
p
[
i
],
typeId
[
i
],
size
[
i
],
elements
[
i
]);
for
(
int
j
=
0
;
j
<
value0
.
length
;
j
++)
{
if
(
j
>=
rows
)
...
...
Write
Preview
Markdown
is supported
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