Skip to content

Commit

Permalink
修改在执行Hbase操作时,还能添加删除配置文件的操作
Browse files Browse the repository at this point in the history
  • Loading branch information
李民 committed May 31, 2019
1 parent e52a297 commit 26c24e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hbase-gui/src/main/java/com/lm/hbase/swing/LoginGui.java
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,8 @@ public void mouseReleased(MouseEvent e) {
}

private void endTask() {
addConfBut.setEnabled(true);
removeConfBut.setEnabled(true);
reloadDriverVersionButton.setEnabled(true);
testButton.setEnabled(true);
cancelButton.setEnabled(true);
Expand All @@ -633,6 +635,8 @@ private void endTask() {
}

private void startTask() {
addConfBut.setEnabled(false);
removeConfBut.setEnabled(false);
reloadDriverVersionButton.setEnabled(false);
testButton.setEnabled(false);
cancelButton.setEnabled(false);
Expand Down

0 comments on commit 26c24e1

Please sign in to comment.