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
db0d57d8
Commit
db0d57d8
authored
Sep 16, 2015
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Xtt and java, Ctrl+G on open DefGraph
parent
df6ffcc2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
java/jpwr/jop/src/XttTree.java
java/jpwr/jop/src/XttTree.java
+7
-0
xtt/exe/rt_xtt/src/xtt_main.cpp
xtt/exe/rt_xtt/src/xtt_main.cpp
+6
-0
No files found.
java/jpwr/jop/src/XttTree.java
View file @
db0d57d8
...
@@ -1276,6 +1276,13 @@ public class XttTree extends JPanel
...
@@ -1276,6 +1276,13 @@ public class XttTree extends JPanel
}
}
String
cmd
;
String
cmd
;
switch
(
cid
)
{
switch
(
cid
)
{
case
Pwrs
.
cClass_PlantHier
:
String
attr
=
name
+
".DefGraph"
;
CdhrString
xttgraph
=
gdh
.
getObjectInfoString
(
attr
);
if
(
xttgraph
.
evenSts
()
||
xttgraph
.
str
.
isEmpty
())
return
;
cmd
=
"open graph/object="
+
xttgraph
.
str
;
break
;
case
Pwrb
.
cClass_DsTrend
:
case
Pwrb
.
cClass_DsTrend
:
case
Pwrb
.
cClass_DsTrendCurve
:
case
Pwrb
.
cClass_DsTrendCurve
:
case
Pwrb
.
cClass_PlotGroup
:
case
Pwrb
.
cClass_PlotGroup
:
...
...
xtt/exe/rt_xtt/src/xtt_main.cpp
View file @
db0d57d8
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
#include <stdlib.h>
#include <stdlib.h>
#include "pwr.h"
#include "pwr.h"
#include "pwr_systemclasses.h"
#include "pwr_baseclasses.h"
#include "pwr_baseclasses.h"
#include "rt_gdh.h"
#include "rt_gdh.h"
#include "rt_gdh_msg.h"
#include "rt_gdh_msg.h"
...
@@ -361,6 +362,11 @@ void Xtt::activate_opengraph()
...
@@ -361,6 +362,11 @@ void Xtt::activate_opengraph()
if
(
cdh_tidIsCid
(
classid
))
{
if
(
cdh_tidIsCid
(
classid
))
{
switch
(
classid
)
{
switch
(
classid
)
{
case
pwr_cClass_PlantHier
:
// Open default graph
sprintf
(
cmd
,
"call meth /meth=Graph /object=%s"
,
vname
);
xnav
->
command
(
cmd
);
return
;
case
pwr_cClass_XttMultiView
:
case
pwr_cClass_XttMultiView
:
// Open multiview
// Open multiview
sprintf
(
cmd
,
"open mult /name=%s"
,
vname
);
sprintf
(
cmd
,
"open mult /name=%s"
,
vname
);
...
...
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