|
|
@ -9,6 +9,7 @@ import com.fr.design.designer.creator.*; |
|
|
|
import com.fr.design.designer.creator.cardlayout.XWCardTagLayout; |
|
|
|
import com.fr.design.designer.creator.cardlayout.XWCardTagLayout; |
|
|
|
import com.fr.design.designer.properties.mobile.MobileBookMarkPropertyUI; |
|
|
|
import com.fr.design.designer.properties.mobile.MobileBookMarkPropertyUI; |
|
|
|
import com.fr.design.designer.properties.mobile.MobileStylePropertyUI; |
|
|
|
import com.fr.design.designer.properties.mobile.MobileStylePropertyUI; |
|
|
|
|
|
|
|
import com.fr.design.file.Releasable; |
|
|
|
import com.fr.design.form.util.FormDesignerUtils; |
|
|
|
import com.fr.design.form.util.FormDesignerUtils; |
|
|
|
import com.fr.design.fun.WidgetPropertyUIProvider; |
|
|
|
import com.fr.design.fun.WidgetPropertyUIProvider; |
|
|
|
import com.fr.design.gui.controlpane.EventPropertyPane; |
|
|
|
import com.fr.design.gui.controlpane.EventPropertyPane; |
|
|
@ -32,7 +33,7 @@ import java.util.Set; |
|
|
|
* 控件属性表绘制 |
|
|
|
* 控件属性表绘制 |
|
|
|
* Modified by fanglei |
|
|
|
* Modified by fanglei |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public class WidgetPropertyPane extends FormDockView implements BaseWidgetPropertyPane { |
|
|
|
public class WidgetPropertyPane extends FormDockView implements BaseWidgetPropertyPane, Releasable { |
|
|
|
|
|
|
|
|
|
|
|
private static final int PADDING = 10; |
|
|
|
private static final int PADDING = 10; |
|
|
|
private static final int PADDING_M = 12; |
|
|
|
private static final int PADDING_M = 12; |
|
|
@ -68,6 +69,31 @@ public class WidgetPropertyPane extends FormDockView implements BaseWidgetProper |
|
|
|
setLayout(FRGUIPaneFactory.createBorderLayout()); |
|
|
|
setLayout(FRGUIPaneFactory.createBorderLayout()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public void releaseResources() { |
|
|
|
|
|
|
|
setEditingFormDesigner(null); |
|
|
|
|
|
|
|
if (eventTable != null) { |
|
|
|
|
|
|
|
eventTable.releaseResources(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (formWidgetCardPane != null) { |
|
|
|
|
|
|
|
formWidgetCardPane.releaseResources(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (wsp != null) { |
|
|
|
|
|
|
|
wsp.removeAll(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
designer.getSelectionModel().reset(); |
|
|
|
|
|
|
|
formWidgetCardPane = null; |
|
|
|
|
|
|
|
eventTable = null; |
|
|
|
|
|
|
|
widgetPropertyTables = null; |
|
|
|
|
|
|
|
mobileExtraPropertyPanes = null; |
|
|
|
|
|
|
|
designer = null; |
|
|
|
|
|
|
|
psp = null; |
|
|
|
|
|
|
|
wsp = null; |
|
|
|
|
|
|
|
tabsHeaderIconPane = null; |
|
|
|
|
|
|
|
lastAffectedCreator = null; |
|
|
|
|
|
|
|
this.removeAll(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected String title4PopupWindow() { |
|
|
|
protected String title4PopupWindow() { |
|
|
|
return com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Control_Setting"); |
|
|
|
return com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Control_Setting"); |
|
|
|