|
|
@ -6,13 +6,12 @@ import com.fanruan.api.design.ui.component.UIIntNumberField; |
|
|
|
import com.fanruan.api.design.ui.component.UILabel; |
|
|
|
import com.fanruan.api.design.ui.component.UILabel; |
|
|
|
import com.fanruan.api.design.ui.component.UIPasswordField; |
|
|
|
import com.fanruan.api.design.ui.component.UIPasswordField; |
|
|
|
import com.fanruan.api.design.ui.component.UITextField; |
|
|
|
import com.fanruan.api.design.ui.component.UITextField; |
|
|
|
|
|
|
|
import com.fanruan.api.design.ui.component.UITitledBorder; |
|
|
|
import com.fanruan.api.design.ui.container.BasicDialog; |
|
|
|
import com.fanruan.api.design.ui.container.BasicDialog; |
|
|
|
|
|
|
|
|
|
|
|
import com.fanruan.api.design.ui.container.DialogActionAdapter; |
|
|
|
import com.fanruan.api.design.ui.container.DialogActionAdapter; |
|
|
|
import com.fanruan.api.design.ui.layout.TableLayoutKit; |
|
|
|
import com.fanruan.api.design.ui.layout.TableLayoutKit; |
|
|
|
import com.fanruan.api.design.util.GUICoreKit; |
|
|
|
import com.fanruan.api.design.util.GUICoreKit; |
|
|
|
import com.fr.design.border.UITitledBorder; |
|
|
|
import com.fanruan.api.design.work.DatabaseConnectionPane; |
|
|
|
import com.fr.design.data.datapane.connect.DatabaseConnectionPane; |
|
|
|
|
|
|
|
import com.fr.plugin.db.redis.core.RedisDatabaseConnection; |
|
|
|
import com.fr.plugin.db.redis.core.RedisDatabaseConnection; |
|
|
|
import com.fr.plugin.db.redis.core.pool.RedisConnectionPoolConfig; |
|
|
|
import com.fr.plugin.db.redis.core.pool.RedisConnectionPoolConfig; |
|
|
|
import com.fr.plugin.db.redis.core.pool.RedisConnectionProxyConfig; |
|
|
|
import com.fr.plugin.db.redis.core.pool.RedisConnectionProxyConfig; |
|
|
@ -34,7 +33,6 @@ public class RedisConnectionPane extends DatabaseConnectionPane<RedisDatabaseCon |
|
|
|
private UIPasswordField passwordTextField; |
|
|
|
private UIPasswordField passwordTextField; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected JPanel mainPanel() { |
|
|
|
protected JPanel mainPanel() { |
|
|
|
JPanel pane = new JPanel(); |
|
|
|
JPanel pane = new JPanel(); |
|
|
@ -115,11 +113,6 @@ public class RedisConnectionPane extends DatabaseConnectionPane<RedisDatabaseCon |
|
|
|
return pane; |
|
|
|
return pane; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
protected boolean isFineBI() { |
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected void populateSubDatabaseConnectionBean(RedisDatabaseConnection ob) { |
|
|
|
protected void populateSubDatabaseConnectionBean(RedisDatabaseConnection ob) { |
|
|
|
hostTextField.setText(ob.getHost()); |
|
|
|
hostTextField.setText(ob.getHost()); |
|
|
|