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
15a05038
Commit
15a05038
authored
Nov 04, 2005
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix in open frame
parent
bf2dec12
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
java/jpwr/jop/src/JopSpider.java
java/jpwr/jop/src/JopSpider.java
+7
-2
src/jpwr/jop/src/JopSpider.java
src/jpwr/jop/src/JopSpider.java
+7
-2
No files found.
java/jpwr/jop/src/JopSpider.java
View file @
15a05038
/*
* Proview $Id: JopSpider.java,v 1.
8 2005-11-02 14:02:18
claes Exp $
* Proview $Id: JopSpider.java,v 1.
9 2005-11-04 11:48:35
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -418,7 +418,7 @@ System.out.println( "qcom put finished");
}
}
else
System
.
out
.
println
(
"JopSpider: Pa
sr
e error "
+
cli
.
getStsString
());
System
.
out
.
println
(
"JopSpider: Pa
rs
e error "
+
cli
.
getStsString
());
if
(
!
local_cmd
)
{
// Send to xtt
...
...
@@ -497,13 +497,17 @@ System.out.println( "JopSpiderCmd start");
public
static
Object
loadFrame
(
JopSession
session
,
String
className
,
String
instance
,
boolean
scrollbar
)
{
Object
frame
;
if
(
instance
==
null
)
instance
=
""
;
JopLog
.
log
(
"JopSpider.loadFrame: Loading frame \""
+
className
+
"\" instance \""
+
instance
+
"\""
);
try
{
Class
clazz
=
Class
.
forName
(
className
);
try
{
Class
argTypeList
[]
=
new
Class
[]
{
session
.
getClass
(),
instance
.
getClass
(),
boolean
.
class
};
Object
argList
[]
=
new
Object
[]
{
session
,
instance
,
new
Boolean
(
scrollbar
)};
System
.
out
.
println
(
"JopSpider.loadFrame getConstructor"
);
Constructor
constructor
=
clazz
.
getConstructor
(
argTypeList
);
try
{
...
...
@@ -514,6 +518,7 @@ System.out.println( "JopSpiderCmd start");
return
null
;
}
// frame = clazz.newInstance();
JopLog
.
log
(
"JopSpider.loadFrame openFrame"
);
openFrame
(
frame
);
return
frame
;
}
...
...
src/jpwr/jop/src/JopSpider.java
View file @
15a05038
/*
* Proview $Id: JopSpider.java,v 1.
8 2005-11-02 14:02:18
claes Exp $
* Proview $Id: JopSpider.java,v 1.
9 2005-11-04 11:48:35
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -418,7 +418,7 @@ System.out.println( "qcom put finished");
}
}
else
System
.
out
.
println
(
"JopSpider: Pa
sr
e error "
+
cli
.
getStsString
());
System
.
out
.
println
(
"JopSpider: Pa
rs
e error "
+
cli
.
getStsString
());
if
(
!
local_cmd
)
{
// Send to xtt
...
...
@@ -497,13 +497,17 @@ System.out.println( "JopSpiderCmd start");
public
static
Object
loadFrame
(
JopSession
session
,
String
className
,
String
instance
,
boolean
scrollbar
)
{
Object
frame
;
if
(
instance
==
null
)
instance
=
""
;
JopLog
.
log
(
"JopSpider.loadFrame: Loading frame \""
+
className
+
"\" instance \""
+
instance
+
"\""
);
try
{
Class
clazz
=
Class
.
forName
(
className
);
try
{
Class
argTypeList
[]
=
new
Class
[]
{
session
.
getClass
(),
instance
.
getClass
(),
boolean
.
class
};
Object
argList
[]
=
new
Object
[]
{
session
,
instance
,
new
Boolean
(
scrollbar
)};
System
.
out
.
println
(
"JopSpider.loadFrame getConstructor"
);
Constructor
constructor
=
clazz
.
getConstructor
(
argTypeList
);
try
{
...
...
@@ -514,6 +518,7 @@ System.out.println( "JopSpiderCmd start");
return
null
;
}
// frame = clazz.newInstance();
JopLog
.
log
(
"JopSpider.loadFrame openFrame"
);
openFrame
(
frame
);
return
frame
;
}
...
...
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