Browse Source

REPORT-1814 表单tab块的改良bug

功能屏蔽
master
zhouping 8 years ago
parent
commit
de903cf9a2
  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() {
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 {
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) {
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 {
return new CRPropertyDescriptor[]{

Loading…
Cancel
Save