Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gjjs-bd-common
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
s_guodong
gjjs-bd-common
Commits
fdc3e5f4
Commit
fdc3e5f4
authored
Aug 15, 2023
by
s_guodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
ec0f1b57
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
7 deletions
+17
-7
MdaContext.java
...ava/com/brilliance/mda/runtime/mda/driver/MdaContext.java
+11
-7
PanelImpl.java
...n/java/com/brilliance/mda/runtime/mda/impl/PanelImpl.java
+6
-0
No files found.
gjjs-bd-runtime/src/main/java/com/brilliance/mda/runtime/mda/driver/MdaContext.java
View file @
fdc3e5f4
...
...
@@ -137,11 +137,11 @@ public class MdaContext implements IContext {
}
public
void
setMessage
(
String
errorNo
,
Object
message
)
{
// if (errorNo != null && errorNo.matches("E\\d+")) {
this
.
errorNo
=
errorNo
;
this
.
errorMessage
=
message
+
""
;
//this.message = message + "";
// }
// if (errorNo != null && errorNo.matches("E\\d+")) {
this
.
errorNo
=
errorNo
;
this
.
errorMessage
=
message
+
""
;
//this.message = message + "";
// }
}
public
boolean
checkAll
(
IModule
module
)
{
...
...
@@ -251,12 +251,16 @@ public class MdaContext implements IContext {
@Override
public
boolean
saveDisplay
(
IPanel
[]
panels
,
String
fileName
)
{
return
false
;
boolean
f
=
false
;
for
(
IPanel
panel
:
panels
)
{
f
=
saveDisplay
(
panel
.
getPath
(),
fileName
);
}
return
f
;
}
@Override
public
boolean
saveDisplay
(
IPanel
panel
,
String
fileName
)
{
return
false
;
return
saveDisplay
(
panel
.
getPath
(),
fileName
)
;
}
@Override
...
...
gjjs-bd-runtime/src/main/java/com/brilliance/mda/runtime/mda/impl/PanelImpl.java
View file @
fdc3e5f4
...
...
@@ -19,6 +19,11 @@ public class PanelImpl extends AbstractBaseObject implements IPanel {
this
.
titleI18nKey
=
titleI18nKey
;
}
public
PanelImpl
(
String
path
)
{
super
(
null
);
this
.
name
=
path
;
}
public
synchronized
void
dispose
()
{
if
(
IPanel
.
log
.
isTraceEnabled
())
IPanel
.
log
.
trace
(
"Panel disposing:"
+
this
.
url
);
...
...
@@ -67,4 +72,5 @@ public class PanelImpl extends AbstractBaseObject implements IPanel {
sort
();
return
RuleUtils
.
invoke
(
this
.
eventRules
,
ctx
,
event
,
new
int
[
0
]);
}
}
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