|
|
@ -1,6 +1,7 @@ |
|
|
|
package com.fr.design.mainframe.widget.ui; |
|
|
|
package com.fr.design.mainframe.widget.ui; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.design.data.DataCreatorUI; |
|
|
|
import com.fr.design.data.DataCreatorUI; |
|
|
|
|
|
|
|
import com.fr.design.designer.beans.events.DesignerEvent; |
|
|
|
import com.fr.design.designer.creator.*; |
|
|
|
import com.fr.design.designer.creator.*; |
|
|
|
import com.fr.design.dialog.BasicScrollPane; |
|
|
|
import com.fr.design.dialog.BasicScrollPane; |
|
|
|
import com.fr.design.foldablepane.UIExpandablePane; |
|
|
|
import com.fr.design.foldablepane.UIExpandablePane; |
|
|
@ -205,6 +206,8 @@ public class FormWidgetCardPane extends AbstractAttrNoScrollPane { |
|
|
|
if (widgetBoundPane != null) { |
|
|
|
if (widgetBoundPane != null) { |
|
|
|
widgetBoundPane.update(); |
|
|
|
widgetBoundPane.update(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
xCreator.resetCreatorName(widget.getWidgetName()); |
|
|
|
|
|
|
|
designer.getEditListenerTable().fireCreatorModified(xCreator, DesignerEvent.CREATOR_RENAMED); |
|
|
|
fireValueChanged(); |
|
|
|
fireValueChanged(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -218,8 +221,9 @@ public class FormWidgetCardPane extends AbstractAttrNoScrollPane { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void fireValueChanged() { |
|
|
|
public void fireValueChanged() { |
|
|
|
designer.repaint(); |
|
|
|
xCreator.firePropertyChange(); |
|
|
|
DesignerContext.getDesignerFrame().getSelectedJTemplate().fireTargetModified(); |
|
|
|
designer.fireTargetModified(); |
|
|
|
|
|
|
|
designer.refreshDesignerUI(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String getIconPath() { |
|
|
|
public String getIconPath() { |
|
|
|