Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
91abb85b
Commit
91abb85b
authored
Aug 25, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#44087対応
parent
50d72136
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/HTMLXWalkWebViewActivity.java
+13
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/view/OperationTaskLayout.java
+15
-0
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/HTMLXWalkWebViewActivity.java
View file @
91abb85b
...
@@ -58,9 +58,11 @@ import jp.agentec.abook.abv.bl.data.dao.ContentDao;
...
@@ -58,9 +58,11 @@ import jp.agentec.abook.abv.bl.data.dao.ContentDao;
import
jp.agentec.abook.abv.bl.download.ContentDownloader
;
import
jp.agentec.abook.abv.bl.download.ContentDownloader
;
import
jp.agentec.abook.abv.bl.download.ContentZipDownloadNotification
;
import
jp.agentec.abook.abv.bl.download.ContentZipDownloadNotification
;
import
jp.agentec.abook.abv.bl.dto.ContentDto
;
import
jp.agentec.abook.abv.bl.dto.ContentDto
;
import
jp.agentec.abook.abv.bl.dto.OperationDto
;
import
jp.agentec.abook.abv.bl.logic.AbstractLogic
;
import
jp.agentec.abook.abv.bl.logic.AbstractLogic
;
import
jp.agentec.abook.abv.bl.logic.ContentReadingLogLogic
;
import
jp.agentec.abook.abv.bl.logic.ContentReadingLogLogic
;
import
jp.agentec.abook.abv.bl.logic.ContractLogic
;
import
jp.agentec.abook.abv.bl.logic.ContractLogic
;
import
jp.agentec.abook.abv.bl.logic.OperationLogic
;
import
jp.agentec.abook.abv.cl.util.ContentLogUtil
;
import
jp.agentec.abook.abv.cl.util.ContentLogUtil
;
import
jp.agentec.abook.abv.cl.util.PreferenceUtil
;
import
jp.agentec.abook.abv.cl.util.PreferenceUtil
;
import
jp.agentec.abook.abv.launcher.android.R
;
import
jp.agentec.abook.abv.launcher.android.R
;
...
@@ -86,6 +88,8 @@ public class HTMLXWalkWebViewActivity extends ParentWebViewActivity {
...
@@ -86,6 +88,8 @@ public class HTMLXWalkWebViewActivity extends ParentWebViewActivity {
private
int
objectLogId
;
private
int
objectLogId
;
private
XWalkView
webView
;
private
XWalkView
webView
;
private
OperationLogic
mOperationLogic
=
AbstractLogic
.
getLogic
(
OperationLogic
.
class
);
private
HTMLXWalkWebViewActivity
.
JsInf
jsInf
=
new
HTMLXWalkWebViewActivity
.
JsInf
();
private
HTMLXWalkWebViewActivity
.
JsInf
jsInf
=
new
HTMLXWalkWebViewActivity
.
JsInf
();
private
Integer
lastPageNo
=
0
;
private
Integer
lastPageNo
=
0
;
...
@@ -576,6 +580,15 @@ public class HTMLXWalkWebViewActivity extends ParentWebViewActivity {
...
@@ -576,6 +580,15 @@ public class HTMLXWalkWebViewActivity extends ParentWebViewActivity {
public
void
openEditPage
()
{
public
void
openEditPage
()
{
commonOpenEditPage
();
commonOpenEditPage
();
}
}
@org
.
xwalk
.
core
.
JavascriptInterface
public
String
getOperation
()
{
ArrayList
<
OperationDto
>
operationDtos
=
new
ArrayList
<
OperationDto
>();
OperationDto
opertaionDto
=
mOperationLogic
.
getOperation
(
mOperationId
);
operationDtos
.
add
(
opertaionDto
);
String
operationJson
=
mOperationLogic
.
createOperationListJson
(
operationDtos
,
null
);
return
operationJson
;
}
}
}
@Override
@Override
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/view/OperationTaskLayout.java
View file @
91abb85b
...
@@ -20,6 +20,7 @@ import android.widget.RelativeLayout;
...
@@ -20,6 +20,7 @@ import android.widget.RelativeLayout;
import
org.json.adf.JSONObject
;
import
org.json.adf.JSONObject
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
jp.agentec.abook.abv.bl.common.Constant
;
import
jp.agentec.abook.abv.bl.common.Constant
;
...
@@ -27,8 +28,11 @@ import jp.agentec.abook.abv.bl.common.constant.ABookKeys;
...
@@ -27,8 +28,11 @@ import jp.agentec.abook.abv.bl.common.constant.ABookKeys;
import
jp.agentec.abook.abv.bl.common.log.Logger
;
import
jp.agentec.abook.abv.bl.common.log.Logger
;
import
jp.agentec.abook.abv.bl.data.dao.AbstractDao
;
import
jp.agentec.abook.abv.bl.data.dao.AbstractDao
;
import
jp.agentec.abook.abv.bl.data.dao.TaskDao
;
import
jp.agentec.abook.abv.bl.data.dao.TaskDao
;
import
jp.agentec.abook.abv.bl.dto.OperationDto
;
import
jp.agentec.abook.abv.bl.dto.OperationTaskDto
;
import
jp.agentec.abook.abv.bl.dto.OperationTaskDto
;
import
jp.agentec.abook.abv.bl.dto.TaskDto
;
import
jp.agentec.abook.abv.bl.dto.TaskDto
;
import
jp.agentec.abook.abv.bl.logic.AbstractLogic
;
import
jp.agentec.abook.abv.bl.logic.OperationLogic
;
import
jp.agentec.abook.abv.launcher.android.R
;
import
jp.agentec.abook.abv.launcher.android.R
;
import
jp.agentec.abook.abv.ui.common.activity.ABVActivity
;
import
jp.agentec.abook.abv.ui.common.activity.ABVActivity
;
import
jp.agentec.abook.abv.ui.common.activity.ABVContentViewActivity
;
import
jp.agentec.abook.abv.ui.common.activity.ABVContentViewActivity
;
...
@@ -67,6 +71,8 @@ public class OperationTaskLayout extends RelativeLayout {
...
@@ -67,6 +71,8 @@ public class OperationTaskLayout extends RelativeLayout {
private
ContentViewActivity
mContext
;
private
ContentViewActivity
mContext
;
private
JsInf
jsInf
=
new
JsInf
();
private
JsInf
jsInf
=
new
JsInf
();
private
OperationLogic
mOperationLogic
=
AbstractLogic
.
getLogic
(
OperationLogic
.
class
);
private
static
TaskDao
mTaskDao
=
AbstractDao
.
getDao
(
TaskDao
.
class
);
private
static
TaskDao
mTaskDao
=
AbstractDao
.
getDao
(
TaskDao
.
class
);
public
OperationTaskLayout
(
final
Context
context
,
final
long
contentId
,
final
String
linkUrl
,
boolean
isNormalSize
)
{
public
OperationTaskLayout
(
final
Context
context
,
final
long
contentId
,
final
String
linkUrl
,
boolean
isNormalSize
)
{
...
@@ -553,5 +559,14 @@ public class OperationTaskLayout extends RelativeLayout {
...
@@ -553,5 +559,14 @@ public class OperationTaskLayout extends RelativeLayout {
public
void
openEditPage
()
{
public
void
openEditPage
()
{
((
ABVContentViewActivity
)
OperationTaskLayout
.
this
.
mContext
).
commonOpenEditPage
();
((
ABVContentViewActivity
)
OperationTaskLayout
.
this
.
mContext
).
commonOpenEditPage
();
}
}
@JavascriptInterface
public
String
getOperation
()
{
ArrayList
<
OperationDto
>
operationDtos
=
new
ArrayList
<
OperationDto
>();
OperationDto
opertaionDto
=
mOperationLogic
.
getOperation
(
mContext
.
mOperationId
);
operationDtos
.
add
(
opertaionDto
);
String
operationJson
=
mOperationLogic
.
createOperationListJson
(
operationDtos
,
null
);
return
operationJson
;
}
}
}
}
}
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