zhouping 8 years ago
parent
commit
40968a3005
  1. 1
      designer_base/src/com/fr/design/data/datapane/TableDataTreePane.java
  2. 18
      designer_form/src/com/fr/design/mainframe/CoverReportPane.java

1
designer_base/src/com/fr/design/data/datapane/TableDataTreePane.java

@ -292,7 +292,6 @@ public class TableDataTreePane extends BasicTableDataTreePane {
} }
tds.putTableData(tdName, td); tds.putTableData(tdName, td);
} }
tc.fireTargetModified();
tc.parameterChanged(); tc.parameterChanged();
dataTree.refresh(); dataTree.refresh();
} }

18
designer_form/src/com/fr/design/mainframe/CoverReportPane.java

@ -62,15 +62,17 @@ public class CoverReportPane extends JPanel {
editButton.setBackground(new Color(176, 196, 222)); editButton.setBackground(new Color(176, 196, 222));
add(editButton); add(editButton);
add(controlButton); add(controlButton);
WidgetPropertyPane.getInstance().getEditingFormDesigner().addDesignerEditListener(new DesignerEditListener() { if (WidgetPropertyPane.getInstance().getEditingFormDesigner() != null) {
@Override WidgetPropertyPane.getInstance().getEditingFormDesigner().addDesignerEditListener(new DesignerEditListener() {
public void fireCreatorModified(DesignerEvent evt) { @Override
if (evt.getCreatorEventID() == (DesignerEvent.CREATOR_DELETED) public void fireCreatorModified(DesignerEvent evt) {
|| evt.getCreatorEventID() == (DesignerEvent.CREATOR_RESIZED)) { if (evt.getCreatorEventID() == (DesignerEvent.CREATOR_DELETED)
destroyHelpDialog(); || evt.getCreatorEventID() == (DesignerEvent.CREATOR_RESIZED)) {
destroyHelpDialog();
}
} }
} });
}); }
} }
public String getHelpMsg() { public String getHelpMsg() {

Loading…
Cancel
Save