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
fd0bd55b
Commit
fd0bd55b
authored
Nov 04, 2005
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Utility stored with attrref
parent
9d111558
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
java/jpwr/jop/src/JopSessionRep.java
java/jpwr/jop/src/JopSessionRep.java
+7
-4
src/jpwr/jop/src/JopSessionRep.java
src/jpwr/jop/src/JopSessionRep.java
+7
-4
No files found.
java/jpwr/jop/src/JopSessionRep.java
View file @
fd0bd55b
/*
* Proview $Id: JopSessionRep.java,v 1.
6 2005-11-02 14:02:18
claes Exp $
* Proview $Id: JopSessionRep.java,v 1.
7 2005-11-04 11:45:17
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -112,7 +112,7 @@ public class JopSessionRep implements JopSessionIfc {
public
void
openGraphFrame
(
String
name
,
String
instance
,
boolean
scrollbar
,
boolean
classGraph
)
{
CdhrAttrRef
aref
=
null
;
if
(
instance
!=
null
)
{
if
(
instance
!=
null
&&
!
instance
.
equals
(
""
)
)
{
if
(
instance
.
startsWith
(
"&"
))
{
// Objid pointer attribute
CdhrString
cstr
=
engine
.
gdh
.
getObjectInfoString
(
instance
.
substring
(
1
));
...
...
@@ -121,17 +121,20 @@ public class JopSessionRep implements JopSessionIfc {
instance
=
cstr
.
str
;
}
JopLog
.
log
(
"openGraphFrame
"
);
JopLog
.
log
(
"openGraphFrame
"
+
name
+
" "
+
instance
);
aref
=
engine
.
gdh
.
nameToAttrRef
(
instance
);
if
(
aref
.
evenSts
())
return
;
if
(
classGraph
)
{
CdhrTypeId
tid
=
engine
.
gdh
.
getAttrRefTid
(
aref
.
aref
);
if
(
tid
.
evenSts
())
return
;
CdhrObjid
coid
=
engine
.
gdh
.
classIdToObjid
(
tid
.
typeId
);
if
(
coid
.
evenSts
())
return
;
CdhrClassId
cid
=
engine
.
gdh
.
getSuperClass
(
tid
.
typeId
,
null
);
CdhrString
sret
=
engine
.
gdh
.
objidToName
(
coid
.
objid
,
Cdh
.
mName_object
);
if
(
sret
.
evenSts
())
return
;
...
...
@@ -250,7 +253,7 @@ public class JopSessionRep implements JopSessionIfc {
if
(
((
JopUtilityIfc
)
o
).
getUtilityType
()
==
type
&&
utilityName
.
equals
(
name
)
&&
utilityAref
!=
null
&&
utilityAref
.
equals
(
aref
))
utilityAref
.
isEqual
(
aref
))
return
o
;
}
else
{
...
...
src/jpwr/jop/src/JopSessionRep.java
View file @
fd0bd55b
/*
* Proview $Id: JopSessionRep.java,v 1.
6 2005-11-02 14:02:18
claes Exp $
* Proview $Id: JopSessionRep.java,v 1.
7 2005-11-04 11:45:17
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -112,7 +112,7 @@ public class JopSessionRep implements JopSessionIfc {
public
void
openGraphFrame
(
String
name
,
String
instance
,
boolean
scrollbar
,
boolean
classGraph
)
{
CdhrAttrRef
aref
=
null
;
if
(
instance
!=
null
)
{
if
(
instance
!=
null
&&
!
instance
.
equals
(
""
)
)
{
if
(
instance
.
startsWith
(
"&"
))
{
// Objid pointer attribute
CdhrString
cstr
=
engine
.
gdh
.
getObjectInfoString
(
instance
.
substring
(
1
));
...
...
@@ -121,17 +121,20 @@ public class JopSessionRep implements JopSessionIfc {
instance
=
cstr
.
str
;
}
JopLog
.
log
(
"openGraphFrame
"
);
JopLog
.
log
(
"openGraphFrame
"
+
name
+
" "
+
instance
);
aref
=
engine
.
gdh
.
nameToAttrRef
(
instance
);
if
(
aref
.
evenSts
())
return
;
if
(
classGraph
)
{
CdhrTypeId
tid
=
engine
.
gdh
.
getAttrRefTid
(
aref
.
aref
);
if
(
tid
.
evenSts
())
return
;
CdhrObjid
coid
=
engine
.
gdh
.
classIdToObjid
(
tid
.
typeId
);
if
(
coid
.
evenSts
())
return
;
CdhrClassId
cid
=
engine
.
gdh
.
getSuperClass
(
tid
.
typeId
,
null
);
CdhrString
sret
=
engine
.
gdh
.
objidToName
(
coid
.
objid
,
Cdh
.
mName_object
);
if
(
sret
.
evenSts
())
return
;
...
...
@@ -250,7 +253,7 @@ public class JopSessionRep implements JopSessionIfc {
if
(
((
JopUtilityIfc
)
o
).
getUtilityType
()
==
type
&&
utilityName
.
equals
(
name
)
&&
utilityAref
!=
null
&&
utilityAref
.
equals
(
aref
))
utilityAref
.
isEqual
(
aref
))
return
o
;
}
else
{
...
...
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