@Override
public void actionPerformed(ActionEvent e) {
if (e.getSource() == getMainWindow().getBarMenu().getRaCodeHighLighting()) {
if (((JCheckBoxMenuItem) e.getSource()).isSelected()) {
getMainWindow().getWorkspace().enableSyntaxEditingRaEditor();
} else {
getMainWindow().getWorkspace().disableSyntaxEditingRaEditor();
}
}
else if (e.getSource() == getMainWindow().getBarMenu().getSqlCodeHighLighting()) {
if (((JCheckBoxMenuItem) e.getSource()).isSelected()) {
getMainWindow().getWorkspace().enableSyntaxEditingSqlEditor();
} else {
getMainWindow().getWorkspace().disableSyntaxEditingSqlEditor();
}
}
}
ListenersSetter.java 文件源码
java
阅读 28
收藏 0
点赞 0
评论 0
项目:JITRAX
作者:
评论列表
文章目录