Commit e1701f0c by Kazuyuki Hida

ダッシュボードのヘルプ表示を実装

parent fa2b2b86
......@@ -66,6 +66,7 @@ import static jp.agentec.abook.abv.bl.acms.client.json.OperationDataJSON.TaskRep
import static jp.agentec.abook.abv.bl.acms.client.json.OperationDataJSON.TaskReportInfo;
import static jp.agentec.abook.abv.bl.acms.client.json.OperationListJSON.OperationList;
import static jp.agentec.abook.abv.bl.acms.client.json.OperationListJSON.OperationName;
import static jp.agentec.abook.abv.bl.common.Constant.HelpViewType.OperationDashboard;
import static jp.agentec.abook.abv.bl.common.Constant.ReportType.RoutineTask;
import static jp.agentec.abook.abv.bl.common.constant.ABookKeys.CMD_GET_REPORT_LIST;
import static jp.agentec.abook.abv.bl.common.constant.ABookKeys.CMD_GET_REPORT_STATUS_COUNT;
......@@ -95,6 +96,14 @@ public class DashboardActivity extends OperationActivity {
}
});
ImageButton helpButton = findViewById(R.id.btn_help);
helpButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
showHelpViewDialog(OperationDashboard);
}
});
progress = findViewById(R.id.refresh_prog);
createWebView();
......
......@@ -259,6 +259,12 @@ public class HelpActivity extends ABVUIActivity {
mMainDescription = PatternStringUtil.patternToString(getApplicationContext(),
R.string.msg_help_dashboard,
getUserPref(AppDefType.UserPrefKey.RESOURCE_PATTERN_TYPE, 0));
mHelpDisplayInfoList.add(settingHelpDisplayInfo(PatternStringUtil.patternToString(getApplicationContext(),
R.string.msg_help_report_locked,
getUserPref(AppDefType.UserPrefKey.RESOURCE_PATTERN_TYPE, 0)), R.drawable.ic_unlock));
mHelpDisplayInfoList.add(settingHelpDisplayInfo(PatternStringUtil.patternToString(getApplicationContext(),
R.string.msg_help_report_send_back,
getUserPref(AppDefType.UserPrefKey.RESOURCE_PATTERN_TYPE, 0)), R.drawable.ic_sendback));
break;
}
if (!(helpViewTye == Constant.HelpViewType.OperationListDirector || helpViewTye == Constant.HelpViewType.OperationListReporter || helpViewTye == Constant.HelpViewType.OperationDetail)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment