Created
December 5, 2019 03:04
-
-
Save dennischen/dfe052f70a659aafc01bdbcba2d96123 to your computer and use it in GitHub Desktop.
Yingzhun Monitor Hint:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Functions { | |
public static final SecurityFunction GearMonitorCenter = new SecurityFunction("GearMonitorCenter", | |
(Set)Collections.asSet(new SimpleAction(Function.ACTION_EDIT),new SimpleAction(Function.ACTION_ADMIN)), | |
new SimpleUIInfo("~@/yingzhun/GearMonitorCenter.zul","~./yingzhun/imgs/function/FN_GearMonitorCenter.png","l:yingzhun.GearMonitorCenter")); | |
public static final SecurityFunction GearChartCenter = new SecurityFunction("GearChartCenter", | |
(Set)Collections.asSet(new SimpleAction(Function.ACTION_EDIT)), | |
new SimpleUIInfo("~@/yingzhun/GearChartCenter.zul","~./yingzhun/imgs/function/FN_GearChartCenter.png","l:yingzhun.GearChartCenter")); | |
public static final SecurityFunction End2EndCenter = new SecurityFunction("End2EndCenter", | |
(Set)Collections.asSet(new SimpleAction(Function.ACTION_EDIT)), | |
new SimpleUIInfo("~@/yingzhun/End2EndCenter.zul","~./yingzhun/imgs/function/FN_End2EndCenter.png","l:yingzhun.End2EndCenter")); | |
public static final SecurityFunction RsyslogMonitorCenter = new SecurityFunction("RsyslogMonitorCenter", | |
(Set)Collections.asSet(new SimpleAction(Function.ACTION_EDIT),new SimpleAction(Function.ACTION_ADMIN)), | |
new SimpleUIInfo("~@/yingzhun/RsyslogMonitorCenter.zul","~./yingzhun/imgs/function/FN_RsyslogMonitorCenter.png","l:yingzhun.RsyslogMonitorCenter")); | |
public static final SecurityFunction YingZhunDashboard = new SecurityFunction("YingZhunDashboard", | |
(Set)Collections.asSet(new SimpleAction(Function.ACTION_ADMIN)), | |
new SimpleUIInfo("~@/yingzhun/YingZhunDashboard.zul","~./yingzhun/imgs/function/FN_YingZhunDashboard.png","l:yingzhun.YingZhunDashboard")); | |
static{ | |
FunctionTable.registerFunction(GearMonitorCenter); | |
FunctionTable.registerFunction(GearChartCenter); | |
FunctionTable.registerFunction(End2EndCenter); | |
FunctionTable.registerFunction(RsyslogMonitorCenter); | |
FunctionTable.registerFunction(YingZhunDashboard); | |
} | |
static final void touch(){} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<borderlayout id="main" hflex="1" vflex="1" apply="com.zechster.yingzhun.ui.ctrl.GearMonitorCenterCtrl" > | |
... | |
</borderlayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<config > | |
<workspace> | |
<desktopActionBuilder> | |
<mainToolbar> | |
<actions> | |
<action name="GearMonitorCenter" priority="200"> | |
<function multiple="true">GearMonitorCenter</function> | |
</action> | |
<action name="GearChartCenter" priority="200"> | |
<function width="1024" multiple="true">GearChartCenter</function> | |
</action> | |
<action name="End2EndCenter" priority="200"> | |
<function multiple="true">End2EndCenter</function> | |
</action> | |
<action name="RsyslogMonitorCenter" priority="200"> | |
<function width="1024" multiple="true">RsyslogMonitorCenter</function> | |
</action> | |
</actions> | |
</mainToolbar> | |
<extendedToolbar> | |
<actions> | |
<action name="YingZhunDashboard" priority="200"> | |
<function width="1024" height="600" multiple="true">YingZhunDashboard</function> | |
</action> | |
</actions> | |
</extendedToolbar> | |
</desktopActionBuilder> | |
</workspace> | |
</config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment