Browse Source

Merge pull request #1316 in DESIGN/design from ~BRYANT/design:release/10.0 to release/10.0

* commit '0825dc9abef1fa0e23ad4ca3f40fe0846e486776':
  无jira任务  适配一些老插件的属性监听界面
feature/big-screen
neil 5 years ago
parent
commit
bf92fe055f
  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