You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
876 B
30 lines
876 B
package com.fr.design.os.impl; |
|
|
|
import com.fr.design.data.datapane.connect.ConnectionListPane; |
|
import com.fr.design.mainframe.DesignerContext; |
|
import com.fr.stable.os.support.OSBasedAction; |
|
|
|
/** |
|
* 数据连接窗口 |
|
* @author pengda |
|
* @date 2019/10/9 |
|
*/ |
|
public class DatabaseDialogAction implements OSBasedAction { |
|
|
|
@Override |
|
public void execute(Object... objects) { |
|
// if (ServerPreferenceConfig.getInstance().isUseUniverseDBM() && !OperatingSystem.isLinux()) { |
|
// UniversalDatabaseOpener.showUniverseDatabaseDialog(); |
|
// } else { |
|
// } |
|
// 直接这里屏蔽掉 防止有设置过 导致配置数据库值为true 即使设置界面屏蔽也没用 |
|
openDesignDatabaseManager(); |
|
|
|
} |
|
|
|
private void openDesignDatabaseManager() { |
|
ConnectionListPane.showDialog(DesignerContext.getDesignerFrame()); |
|
} |
|
|
|
|
|
}
|
|
|