|
|
@ -10,6 +10,7 @@ import java.awt.event.ContainerEvent; |
|
|
|
import com.fr.design.designer.beans.LayoutAdapter; |
|
|
|
import com.fr.design.designer.beans.LayoutAdapter; |
|
|
|
import com.fr.design.designer.beans.adapters.layout.FRScaleLayoutAdapter; |
|
|
|
import com.fr.design.designer.beans.adapters.layout.FRScaleLayoutAdapter; |
|
|
|
import com.fr.design.form.layout.FRScaleLayout; |
|
|
|
import com.fr.design.form.layout.FRScaleLayout; |
|
|
|
|
|
|
|
import com.fr.design.fun.WidgetPropertyUIProvider; |
|
|
|
import com.fr.form.ui.Widget; |
|
|
|
import com.fr.form.ui.Widget; |
|
|
|
import com.fr.form.ui.container.WScaleLayout; |
|
|
|
import com.fr.form.ui.container.WScaleLayout; |
|
|
|
import com.fr.form.ui.container.WAbsoluteLayout.BoundsWidget; |
|
|
|
import com.fr.form.ui.container.WAbsoluteLayout.BoundsWidget; |
|
|
@ -166,4 +167,16 @@ public class XWScaleLayout extends DedicateLayoutContainer { |
|
|
|
XCreator child = getXCreator(INDEX); |
|
|
|
XCreator child = getXCreator(INDEX); |
|
|
|
child.firePropertyChange(); |
|
|
|
child.firePropertyChange(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 获取被包装的XCreator扩展的属性tab |
|
|
|
|
|
|
|
* @return |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public WidgetPropertyUIProvider[] getWidgetPropertyUIProviders() { |
|
|
|
|
|
|
|
if (this.getXCreatorCount() > 0) { |
|
|
|
|
|
|
|
return this.getXCreator(0).getWidgetPropertyUIProviders(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return super.getWidgetPropertyUIProviders(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |