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
44956b4e
Commit
44956b4e
authored
May 20, 2010
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Java classgraphs, functionallity for method buttons added
parent
029e26bb
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
686 additions
and
320 deletions
+686
-320
java/jpwr/jop/src/GeDynInvisible.java
java/jpwr/jop/src/GeDynInvisible.java
+10
-4
java/jpwr/jop/src/Jop.java
java/jpwr/jop/src/Jop.java
+2
-2
java/jpwr/jop/src/JopMethods.java
java/jpwr/jop/src/JopMethods.java
+447
-0
java/jpwr/jop/src/JopMethodsMenu.java
java/jpwr/jop/src/JopMethodsMenu.java
+39
-288
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
+12
-6
java/jpwr/jop/src/JopSpider.java
java/jpwr/jop/src/JopSpider.java
+174
-19
java/jpwr/jop/src/JopUtility.java
java/jpwr/jop/src/JopUtility.java
+1
-0
No files found.
java/jpwr/jop/src/GeDynInvisible.java
View file @
44956b4e
...
...
@@ -36,6 +36,7 @@ public class GeDynInvisible extends GeDynElem {
boolean
cmd
=
false
;
boolean
valueCmd
=
false
;
int
bitNum
;
String
command
;
public
GeDynInvisible
(
GeDyn
dyn
,
String
attribute
,
int
dimmed
)
{
super
(
dyn
,
GeDyn
.
mDynType_Invisible
,
GeDyn
.
mActionType_No
);
...
...
@@ -48,6 +49,7 @@ public class GeDynInvisible extends GeDynElem {
if
(
attrName
.
toLowerCase
().
startsWith
(
"$cmd("
))
{
cmd
=
true
;
valueCmd
=
false
;
command
=
attrName
.
substring
(
5
,
attrName
.
length
()-
1
);
}
else
{
GdhrRefObjectInfo
ret
=
dyn
.
en
.
gdh
.
refObjectInfo
(
attrName
);
...
...
@@ -85,10 +87,14 @@ public class GeDynInvisible extends GeDynElem {
public
void
scan
()
{
if
(
cmd
)
{
if
(
firstScan
)
{
if
(
dimmed
==
0
)
dyn
.
comp
.
setVisibility
(
Ge
.
VISIBILITY_INVISIBLE
);
else
dyn
.
comp
.
setVisibility
(
Ge
.
VISIBILITY_DIMMED
);
int
sts
=
Jop
.
executeCommand
(
dyn
.
session
,
command
);
System
.
out
.
println
(
"DynInvisible: "
+
command
+
", value: "
+
sts
);
if
(
sts
==
0
)
{
if
(
dimmed
==
0
)
dyn
.
comp
.
setVisibility
(
Ge
.
VISIBILITY_INVISIBLE
);
else
dyn
.
comp
.
setVisibility
(
Ge
.
VISIBILITY_DIMMED
);
}
firstScan
=
false
;
}
return
;
...
...
java/jpwr/jop/src/Jop.java
View file @
44956b4e
...
...
@@ -35,7 +35,7 @@ public class Jop {
public
static
final
int
BUTTON_ACTION_TOGGLE
=
2
;
public
static
final
int
BUTTON_ACTION_COMMAND
=
3
;
public
static
void
executeCommand
(
JopSession
session
,
String
command
)
{
JopSpider
.
command
(
session
,
command
);
public
static
int
executeCommand
(
JopSession
session
,
String
command
)
{
return
JopSpider
.
command
(
session
,
command
);
}
}
java/jpwr/jop/src/JopMethods.java
0 → 100644
View file @
44956b4e
This diff is collapsed.
Click to expand it.
java/jpwr/jop/src/JopMethodsMenu.java
View file @
44956b4e
This diff is collapsed.
Click to expand it.
java/jpwr/jop/src/JopSessionIfc.java
View file @
44956b4e
...
...
@@ -37,7 +37,7 @@ public interface JopSessionIfc {
public
void
openGraphFrame
(
String
name
,
String
instance
,
boolean
scrollbar
,
boolean
classGraph
);
public
void
openFlowFrame
(
PwrtObjid
oid
,
String
center
);
public
void
openCrrFrame
(
String
name
);
public
void
executeCommand
(
String
command
);
public
int
executeCommand
(
String
command
);
public
boolean
isApplet
();
public
boolean
isApplication
();
public
boolean
isOpWindowApplet
();
...
...
java/jpwr/jop/src/JopSessionRep.java
View file @
44956b4e
...
...
@@ -168,9 +168,14 @@ public class JopSessionRep implements JopSessionIfc {
if
(
coid
.
objid
.
vid
==
1
)
name
=
"jpwr.jopc.Jopc"
+
sret
.
str
.
substring
(
1
,
2
).
toUpperCase
()
+
sret
.
str
.
substring
(
2
).
toLowerCase
()
+
suffix
;
else
if
(
coid
.
objid
.
vid
==
10
)
name
=
"jpwr.bcomp.Jopc"
+
sret
.
str
.
substring
(
0
,
1
).
toUpperCase
()
+
sret
.
str
.
substring
(
1
).
toLowerCase
()
+
suffix
;
else
if
(
coid
.
objid
.
vid
==
10
)
{
if
(
sret
.
str
.
startsWith
(
"BaseFcPPO"
))
name
=
"jpwr.bcompfc.Jopc"
+
sret
.
str
.
substring
(
0
,
1
).
toUpperCase
()
+
sret
.
str
.
substring
(
1
).
toLowerCase
()
+
suffix
;
else
name
=
"jpwr.bcomp.Jopc"
+
sret
.
str
.
substring
(
0
,
1
).
toUpperCase
()
+
sret
.
str
.
substring
(
1
).
toLowerCase
()
+
suffix
;
}
else
name
=
"jpwr.jopc.Jopc"
+
sret
.
str
.
substring
(
0
,
1
).
toUpperCase
()
+
sret
.
str
.
substring
(
1
).
toLowerCase
()
+
suffix
;
...
...
@@ -228,7 +233,8 @@ public class JopSessionRep implements JopSessionIfc {
for
(
int
i
=
0
;
i
<
frames
.
size
();
i
++)
{
Object
o
=
frames
.
get
(
i
);
PwrtObjid
utilityObjid
=
((
JopUtilityIfc
)
o
).
getUtilityObjid
();
if
(
((
JopUtilityIfc
)
o
).
getUtilityType
()
==
type
&&
if
(
((
JopUtilityIfc
)
o
).
getUtilityType
()
==
type
&&
utilityObjid
!=
null
&&
utilityObjid
.
oix
==
objid
.
oix
&&
utilityObjid
.
vid
==
objid
.
vid
)
{
return
o
;
}
...
...
@@ -288,8 +294,8 @@ public class JopSessionRep implements JopSessionIfc {
}
public
void
executeCommand
(
String
command
)
{
JopSpider
.
command
(
session
,
command
);
public
int
executeCommand
(
String
command
)
{
return
JopSpider
.
command
(
session
,
command
);
}
public
boolean
isApplet
()
{
...
...
java/jpwr/jop/src/JopSpider.java
View file @
44956b4e
This diff is collapsed.
Click to expand it.
java/jpwr/jop/src/JopUtility.java
View file @
44956b4e
...
...
@@ -20,6 +20,7 @@
package
jpwr.jop
;
public
class
JopUtility
{
public
static
final
int
NO
=
0
;
public
static
final
int
TRACE
=
1
;
public
static
final
int
GRAPH
=
2
;
public
static
final
int
NAVIGATOR
=
3
;
...
...
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