|
|
@ -60,6 +60,10 @@ public class DesensitizationRuleChoosePane extends JPanel { |
|
|
|
switchPaneByRuleSource(DesensitizationRuleSource.SERVER); |
|
|
|
switchPaneByRuleSource(DesensitizationRuleSource.SERVER); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 通过脱敏规则来源,切换显示不同的脱敏规则Table面板 |
|
|
|
|
|
|
|
* @param ruleSource |
|
|
|
|
|
|
|
*/ |
|
|
|
public void switchPaneByRuleSource(DesensitizationRuleSource ruleSource) { |
|
|
|
public void switchPaneByRuleSource(DesensitizationRuleSource ruleSource) { |
|
|
|
this.currentRuleSource = ruleSource; |
|
|
|
this.currentRuleSource = ruleSource; |
|
|
|
this.cardLayout.show(this, ruleSource.name()); |
|
|
|
this.cardLayout.show(this, ruleSource.name()); |
|
|
|