Browse Source

Merge pull request #668 in BA/design from ~ZHOUPING/design:release to release

* commit 'de903cf9a2fdae8cfd60f54fe64033e75fc631eb':
  REPORT-1814 表单tab块的改良bug 功能屏蔽
master
superman 8 years ago
parent
commit
b81febf662
  1. 11
      designer_form/src/com/fr/design/designer/creator/cardlayout/XWCardLayout.java
  2. 11
      designer_form/src/com/fr/design/designer/creator/cardlayout/XWTabFitLayout.java

11
designer_form/src/com/fr/design/designer/creator/cardlayout/XWCardLayout.java

@ -270,17 +270,6 @@ public class XWCardLayout extends XLayoutContainer {
public boolean hasTitleStyle() { public boolean hasTitleStyle() {
return true; return true;
} }
/**
* 得到属性名
* @return 属性名
* @throws IntrospectionException
*/
public CRPropertyDescriptor[] supportedDescriptor() throws IntrospectionException {
CRPropertyDescriptor[] crp = ((WCardLayout) data).isCarousel() ? getisCarousel() : getisnotCarousel();
return ArrayUtils.addAll(getDefaultDescriptor(), crp);
}
public CRPropertyDescriptor[] getisCarousel() throws IntrospectionException { public CRPropertyDescriptor[] getisCarousel() throws IntrospectionException {
return new CRPropertyDescriptor[] { return new CRPropertyDescriptor[] {

11
designer_form/src/com/fr/design/designer/creator/cardlayout/XWTabFitLayout.java

@ -111,17 +111,6 @@ public class XWTabFitLayout extends XWFitLayout {
public XWTabFitLayout(WTabFitLayout widget, Dimension initSize) { public XWTabFitLayout(WTabFitLayout widget, Dimension initSize) {
super(widget, initSize); super(widget, initSize);
} }
/**
* 得到属性名
* @return 属性名
* @throws IntrospectionException
*/
public CRPropertyDescriptor[] supportedDescriptor() throws IntrospectionException {
checkButonType();
CRPropertyDescriptor[] crp = ((WTabFitLayout) data).isCustomStyle() ? getisCustomStyle() : getisnotCustomStyle();
return ArrayUtils.addAll(defaultDescriptor(), crp);
}
protected CRPropertyDescriptor[] getisCustomStyle() throws IntrospectionException { protected CRPropertyDescriptor[] getisCustomStyle() throws IntrospectionException {
return new CRPropertyDescriptor[]{ return new CRPropertyDescriptor[]{

Loading…
Cancel
Save