Browse Source
* commit '47f779ac70e6533140a33f1be080fc2690554de2': 修改方法名 修改 格式化一下 删除不需要的变量 修改 控件属性传递插件接口master
superman
9 years ago
4 changed files with 61 additions and 7 deletions
@ -0,0 +1,22 @@ |
|||||||
|
package com.fr.design.fun; |
||||||
|
|
||||||
|
import com.fr.form.ui.Widget; |
||||||
|
import com.fr.stable.fun.Level; |
||||||
|
|
||||||
|
/** |
||||||
|
* Coder: zack |
||||||
|
* Date: 2016/5/12 |
||||||
|
* Time: 10:37 |
||||||
|
*/ |
||||||
|
public interface WidgetDesignHandler extends Level { |
||||||
|
String XML_TAG = "WidgetDesignHandler"; |
||||||
|
int CURRENT_LEVEL = 1; |
||||||
|
|
||||||
|
/** |
||||||
|
* 传递控件共有属性 |
||||||
|
* |
||||||
|
* @param oldWidget 老控件 |
||||||
|
* @param newWidget 新控件 |
||||||
|
*/ |
||||||
|
void transferWidgetProperties(Widget oldWidget, Widget newWidget); |
||||||
|
} |
@ -0,0 +1,11 @@ |
|||||||
|
package com.fr.design.fun.impl; |
||||||
|
|
||||||
|
import com.fr.design.fun.WidgetDesignHandler; |
||||||
|
|
||||||
|
/** |
||||||
|
* Coder: zack |
||||||
|
* Date: 2016/5/12 |
||||||
|
* Time: 10:41 |
||||||
|
*/ |
||||||
|
public abstract class AbstractWidgetDesignHandler implements WidgetDesignHandler { |
||||||
|
} |
Loading…
Reference in new issue