Browse Source

无jira任务 适配一些老插件的属性监听界面

feature/big-screen
Bryant 5 years ago
parent
commit
b809dd6662
  1. 7
      designer-base/src/main/java/com/fr/design/designer/creator/CRPropertyDescriptor.java

7
designer-base/src/main/java/com/fr/design/designer/creator/CRPropertyDescriptor.java

@ -4,6 +4,7 @@
package com.fr.design.designer.creator; package com.fr.design.designer.creator;
import com.fr.stable.StringUtils; import com.fr.stable.StringUtils;
import com.fr.stable.core.PropertyChangeAdapter;
import com.fr.stable.core.PropertyChangeListener; import com.fr.stable.core.PropertyChangeListener;
import java.beans.IntrospectionException; import java.beans.IntrospectionException;
@ -40,6 +41,12 @@ public final class CRPropertyDescriptor extends PropertyDescriptor {
return this; return this;
} }
@Deprecated
public CRPropertyDescriptor setPropertyChangeListener(PropertyChangeAdapter l) {
this.l = l;
return this;
}
public void firePropertyChanged() { public void firePropertyChanged() {
if (l != null) { if (l != null) {
l.propertyChange(); l.propertyChange();

Loading…
Cancel
Save