Browse Source

REPORT-364 报表块刷新接口处理

master
PanLi320 8 years ago
parent
commit
19ba11f8a4
  1. 18
      designer_base/src/com/fr/design/fun/FormElementRefreshCaseEditorProcessor.java
  2. 28
      designer_base/src/com/fr/design/fun/impl/AbstractFormElementRefreshCaseEditorProcessor.java

18
designer_base/src/com/fr/design/fun/FormElementRefreshCaseEditorProcessor.java

@ -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);
}

28
designer_base/src/com/fr/design/fun/impl/AbstractFormElementRefreshCaseEditorProcessor.java

@ -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…
Cancel
Save