forked from fanruan/design
PanLi320
8 years ago
2 changed files with 46 additions and 0 deletions
@ -0,0 +1,18 @@ |
|||||||
|
package com.fr.design.fun; |
||||||
|
|
||||||
|
import com.fr.stable.fun.ReportRefreshAttrProvider; |
||||||
|
import com.fr.stable.fun.mark.Immutable; |
||||||
|
|
||||||
|
import java.beans.PropertyDescriptor; |
||||||
|
|
||||||
|
/** |
||||||
|
* Created by Slpire on 16/10/12. |
||||||
|
*/ |
||||||
|
public interface FormElementRefreshCaseEditorProcessor extends Immutable { |
||||||
|
|
||||||
|
String MARK_STRING = "PropertyEditor"; |
||||||
|
|
||||||
|
int CURRENT_LEVEL = 1; |
||||||
|
|
||||||
|
PropertyDescriptor[] createPropertyDescriptor(Class<?> temp, ReportRefreshAttrProvider reportefreshAttr); |
||||||
|
} |
@ -0,0 +1,28 @@ |
|||||||
|
package com.fr.design.fun.impl; |
||||||
|
|
||||||
|
import com.fr.design.fun.FormElementRefreshCaseEditorProcessor; |
||||||
|
import com.fr.stable.fun.RefreshProvider; |
||||||
|
import com.fr.stable.fun.ReportRefreshAttrProvider; |
||||||
|
import com.fr.stable.fun.mark.API; |
||||||
|
|
||||||
|
import java.beans.PropertyDescriptor; |
||||||
|
|
||||||
|
/** |
||||||
|
* Created by Slpire on 16/10/12. |
||||||
|
*/ |
||||||
|
@API(level = FormElementRefreshCaseEditorProcessor.CURRENT_LEVEL) |
||||||
|
public abstract class AbstractFormElementRefreshCaseEditorProcessor implements FormElementRefreshCaseEditorProcessor { |
||||||
|
|
||||||
|
public int currentAPILevel() { |
||||||
|
return CURRENT_LEVEL; |
||||||
|
} |
||||||
|
|
||||||
|
public int layerIndex() { |
||||||
|
return DEFAULT_LAYER_INDEX; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public PropertyDescriptor[] createPropertyDescriptor(Class<?> temp, ReportRefreshAttrProvider refreshAttrProvider) { |
||||||
|
return new PropertyDescriptor[0]; |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue