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
8cf71e10
Commit
8cf71e10
authored
Jul 08, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
classgraph qualifier in command open graph
parent
d7643d39
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
48 additions
and
8 deletions
+48
-8
java/jpwr/jop/src/JopSession.java
java/jpwr/jop/src/JopSession.java
+2
-2
java/jpwr/jop/src/JopSessionIfc.java
java/jpwr/jop/src/JopSessionIfc.java
+1
-1
java/jpwr/jop/src/JopSessionRep.java
java/jpwr/jop/src/JopSessionRep.java
+21
-1
src/jpwr/jop/src/JopSession.java
src/jpwr/jop/src/JopSession.java
+2
-2
src/jpwr/jop/src/JopSessionIfc.java
src/jpwr/jop/src/JopSessionIfc.java
+1
-1
src/jpwr/jop/src/JopSessionRep.java
src/jpwr/jop/src/JopSessionRep.java
+21
-1
No files found.
java/jpwr/jop/src/JopSession.java
View file @
8cf71e10
...
@@ -69,8 +69,8 @@ public class JopSession {
...
@@ -69,8 +69,8 @@ public class JopSession {
((
JopSessionIfc
)
sessionRep
).
openLogin
();
((
JopSessionIfc
)
sessionRep
).
openLogin
();
}
}
public
void
openGraphFrame
(
String
name
,
String
instance
,
boolean
scrollbar
)
{
public
void
openGraphFrame
(
String
name
,
String
instance
,
boolean
scrollbar
,
boolean
classGraph
)
{
((
JopSessionIfc
)
sessionRep
).
openGraphFrame
(
name
,
instance
,
scrollbar
);
((
JopSessionIfc
)
sessionRep
).
openGraphFrame
(
name
,
instance
,
scrollbar
,
classGraph
);
}
}
public
void
openFlowFrame
(
PwrtObjid
oid
,
String
center
)
{
public
void
openFlowFrame
(
PwrtObjid
oid
,
String
center
)
{
...
...
java/jpwr/jop/src/JopSessionIfc.java
View file @
8cf71e10
...
@@ -14,7 +14,7 @@ public interface JopSessionIfc {
...
@@ -14,7 +14,7 @@ public interface JopSessionIfc {
public
void
openNavigator
(
PwrtObjid
oid
);
public
void
openNavigator
(
PwrtObjid
oid
);
public
void
openAlarmList
();
public
void
openAlarmList
();
public
void
openLogin
();
public
void
openLogin
();
public
void
openGraphFrame
(
String
name
,
String
instance
,
boolean
scrollbar
);
public
void
openGraphFrame
(
String
name
,
String
instance
,
boolean
scrollbar
,
boolean
classGraph
);
public
void
openFlowFrame
(
PwrtObjid
oid
,
String
center
);
public
void
openFlowFrame
(
PwrtObjid
oid
,
String
center
);
public
void
openCrrFrame
(
String
name
);
public
void
openCrrFrame
(
String
name
);
public
void
executeCommand
(
String
command
);
public
void
executeCommand
(
String
command
);
...
...
java/jpwr/jop/src/JopSessionRep.java
View file @
8cf71e10
...
@@ -91,11 +91,31 @@ public class JopSessionRep implements JopSessionIfc {
...
@@ -91,11 +91,31 @@ public class JopSessionRep implements JopSessionIfc {
}
}
}
}
public
void
openGraphFrame
(
String
name
,
String
instance
,
boolean
scrollbar
)
{
public
void
openGraphFrame
(
String
name
,
String
instance
,
boolean
scrollbar
,
boolean
classGraph
)
{
CdhrObjid
oid
=
null
;
CdhrObjid
oid
=
null
;
if
(
instance
!=
null
)
{
if
(
instance
!=
null
)
{
if
(
instance
.
startsWith
(
"&"
))
{
// Objid pointer attribute
CdhrString
cstr
=
engine
.
gdh
.
getObjectInfoString
(
instance
.
substring
(
1
));
if
(
cstr
.
evenSts
())
return
;
instance
=
cstr
.
str
;
}
oid
=
engine
.
gdh
.
nameToObjid
(
instance
);
oid
=
engine
.
gdh
.
nameToObjid
(
instance
);
if
(
oid
.
evenSts
())
return
;
if
(
oid
.
evenSts
())
return
;
if
(
classGraph
)
{
CdhrClassId
cid
=
engine
.
gdh
.
getObjectClass
(
oid
.
objid
);
if
(
cid
.
evenSts
())
return
;
CdhrObjid
coid
=
engine
.
gdh
.
classIdToObjid
(
cid
.
classId
);
if
(
coid
.
evenSts
())
return
;
CdhrString
sret
=
engine
.
gdh
.
objidToName
(
coid
.
objid
,
Cdh
.
mName_object
);
if
(
sret
.
evenSts
())
return
;
name
=
sret
.
str
.
substring
(
0
,
1
).
toUpperCase
()
+
sret
.
str
.
substring
(
1
).
toLowerCase
();
}
}
}
Object
graph
;
Object
graph
;
if
(
oid
==
null
)
if
(
oid
==
null
)
...
...
src/jpwr/jop/src/JopSession.java
View file @
8cf71e10
...
@@ -69,8 +69,8 @@ public class JopSession {
...
@@ -69,8 +69,8 @@ public class JopSession {
((
JopSessionIfc
)
sessionRep
).
openLogin
();
((
JopSessionIfc
)
sessionRep
).
openLogin
();
}
}
public
void
openGraphFrame
(
String
name
,
String
instance
,
boolean
scrollbar
)
{
public
void
openGraphFrame
(
String
name
,
String
instance
,
boolean
scrollbar
,
boolean
classGraph
)
{
((
JopSessionIfc
)
sessionRep
).
openGraphFrame
(
name
,
instance
,
scrollbar
);
((
JopSessionIfc
)
sessionRep
).
openGraphFrame
(
name
,
instance
,
scrollbar
,
classGraph
);
}
}
public
void
openFlowFrame
(
PwrtObjid
oid
,
String
center
)
{
public
void
openFlowFrame
(
PwrtObjid
oid
,
String
center
)
{
...
...
src/jpwr/jop/src/JopSessionIfc.java
View file @
8cf71e10
...
@@ -14,7 +14,7 @@ public interface JopSessionIfc {
...
@@ -14,7 +14,7 @@ public interface JopSessionIfc {
public
void
openNavigator
(
PwrtObjid
oid
);
public
void
openNavigator
(
PwrtObjid
oid
);
public
void
openAlarmList
();
public
void
openAlarmList
();
public
void
openLogin
();
public
void
openLogin
();
public
void
openGraphFrame
(
String
name
,
String
instance
,
boolean
scrollbar
);
public
void
openGraphFrame
(
String
name
,
String
instance
,
boolean
scrollbar
,
boolean
classGraph
);
public
void
openFlowFrame
(
PwrtObjid
oid
,
String
center
);
public
void
openFlowFrame
(
PwrtObjid
oid
,
String
center
);
public
void
openCrrFrame
(
String
name
);
public
void
openCrrFrame
(
String
name
);
public
void
executeCommand
(
String
command
);
public
void
executeCommand
(
String
command
);
...
...
src/jpwr/jop/src/JopSessionRep.java
View file @
8cf71e10
...
@@ -91,11 +91,31 @@ public class JopSessionRep implements JopSessionIfc {
...
@@ -91,11 +91,31 @@ public class JopSessionRep implements JopSessionIfc {
}
}
}
}
public
void
openGraphFrame
(
String
name
,
String
instance
,
boolean
scrollbar
)
{
public
void
openGraphFrame
(
String
name
,
String
instance
,
boolean
scrollbar
,
boolean
classGraph
)
{
CdhrObjid
oid
=
null
;
CdhrObjid
oid
=
null
;
if
(
instance
!=
null
)
{
if
(
instance
!=
null
)
{
if
(
instance
.
startsWith
(
"&"
))
{
// Objid pointer attribute
CdhrString
cstr
=
engine
.
gdh
.
getObjectInfoString
(
instance
.
substring
(
1
));
if
(
cstr
.
evenSts
())
return
;
instance
=
cstr
.
str
;
}
oid
=
engine
.
gdh
.
nameToObjid
(
instance
);
oid
=
engine
.
gdh
.
nameToObjid
(
instance
);
if
(
oid
.
evenSts
())
return
;
if
(
oid
.
evenSts
())
return
;
if
(
classGraph
)
{
CdhrClassId
cid
=
engine
.
gdh
.
getObjectClass
(
oid
.
objid
);
if
(
cid
.
evenSts
())
return
;
CdhrObjid
coid
=
engine
.
gdh
.
classIdToObjid
(
cid
.
classId
);
if
(
coid
.
evenSts
())
return
;
CdhrString
sret
=
engine
.
gdh
.
objidToName
(
coid
.
objid
,
Cdh
.
mName_object
);
if
(
sret
.
evenSts
())
return
;
name
=
sret
.
str
.
substring
(
0
,
1
).
toUpperCase
()
+
sret
.
str
.
substring
(
1
).
toLowerCase
();
}
}
}
Object
graph
;
Object
graph
;
if
(
oid
==
null
)
if
(
oid
==
null
)
...
...
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