|
|
@ -10,32 +10,36 @@ import com.fr.stable.fun.mark.Mutable; |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public interface ConnectionProvider extends Mutable { |
|
|
|
public interface ConnectionProvider extends Mutable { |
|
|
|
|
|
|
|
|
|
|
|
public static final String XML_TAG = "ConnectionProvider"; |
|
|
|
String XML_TAG = "ConnectionProvider"; |
|
|
|
|
|
|
|
|
|
|
|
// 2016-12-14 1 -> 2 , 增加connection.feature方法导致不兼容.
|
|
|
|
// 2016-12-14 1 -> 2 , 增加connection.feature方法导致不兼容.
|
|
|
|
int CURRENT_LEVEL = 2; |
|
|
|
int CURRENT_LEVEL = 2; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 数据连接弹出菜单的名字 |
|
|
|
* 数据连接弹出菜单的名字 |
|
|
|
|
|
|
|
* |
|
|
|
* @return 名字 |
|
|
|
* @return 名字 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public String nameForConnection(); |
|
|
|
String nameForConnection(); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 数据连接弹出菜单的图标 |
|
|
|
* 数据连接弹出菜单的图标 |
|
|
|
|
|
|
|
* |
|
|
|
* @return 图标路径 |
|
|
|
* @return 图标路径 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public String iconPathForConnection(); |
|
|
|
String iconPathForConnection(); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 数据连接的类型 |
|
|
|
* 数据连接的类型 |
|
|
|
|
|
|
|
* |
|
|
|
* @return 连接类型 |
|
|
|
* @return 连接类型 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public Class<? extends com.fr.data.impl.Connection> classForConnection(); |
|
|
|
Class<? extends com.fr.data.impl.Connection> classForConnection(); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 数据连接的设计界面 |
|
|
|
* 数据连接的设计界面 |
|
|
|
|
|
|
|
* |
|
|
|
* @return 设计界面 |
|
|
|
* @return 设计界面 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public Class<? extends BasicBeanPane<? extends Connection>> appearanceForConnection(); |
|
|
|
Class<? extends BasicBeanPane<? extends Connection>> appearanceForConnection(); |
|
|
|
} |
|
|
|
} |