Browse Source

update

master
Fangjie Hu 8 years ago
parent
commit
2ec2f5617d
  1. 3
      designer/src/com/fr/design/actions/report/ReportParameterAction.java
  2. 12
      designer/src/com/fr/design/mainframe/JWorkBook.java
  3. 4
      designer_base/src/com/fr/design/mainframe/JTemplate.java

3
designer/src/com/fr/design/actions/report/ReportParameterAction.java

@ -10,7 +10,6 @@ import javax.swing.SwingUtilities;
import com.fr.base.BaseUtils; import com.fr.base.BaseUtils;
import com.fr.base.Parameter; import com.fr.base.Parameter;
import com.fr.design.actions.JWorkBookAction; import com.fr.design.actions.JWorkBookAction;
import com.fr.design.file.HistoryTemplateListPane;
import com.fr.design.mainframe.JWorkBook; import com.fr.design.mainframe.JWorkBook;
import com.fr.design.menu.KeySetUtils; import com.fr.design.menu.KeySetUtils;
import com.fr.design.parameter.ParameterArrayPane; import com.fr.design.parameter.ParameterArrayPane;
@ -64,8 +63,6 @@ public class ReportParameterAction extends JWorkBookAction{
jwb.updateReportParameterAttr(); jwb.updateReportParameterAttr();
jwb.populateReportParameterAttr(); jwb.populateReportParameterAttr();
//点击确定会后,需要出发插件界面的更新
HistoryTemplateListPane.getInstance().getCurrentEditingTemplate().fireElementCasePane();
} }
}); });
parameterArrayDialog.setVisible(true); parameterArrayDialog.setVisible(true);

12
designer/src/com/fr/design/mainframe/JWorkBook.java

@ -743,7 +743,10 @@ public class JWorkBook extends JTemplate<WorkBook, WorkBookUndoState> {
} }
EastRegionContainerPane.getInstance().replaceUpPane(QuickEditorRegion.getInstance()); EastRegionContainerPane.getInstance().replaceUpPane(QuickEditorRegion.getInstance());
} else { } else {
fireElementCasePane(); ElementCasePane casePane = ((ReportComponent) delegate4ToolbarMenuAdapter()).elementCasePane;
if (casePane != null) {
casePane.fireSelectionChangeListener();
}
} }
} }
if (BaseUtils.isAuthorityEditing()) { if (BaseUtils.isAuthorityEditing()) {
@ -754,13 +757,6 @@ public class JWorkBook extends JTemplate<WorkBook, WorkBookUndoState> {
centerPane.needToShowCoverAndHidPane(); centerPane.needToShowCoverAndHidPane();
} }
public void fireElementCasePane() {
ElementCasePane casePane = ((ReportComponent) delegate4ToolbarMenuAdapter()).elementCasePane;
if (casePane != null) {
casePane.fireSelectionChangeListener();
}
}
@Override @Override
/** /**
* *

4
designer_base/src/com/fr/design/mainframe/JTemplate.java

@ -325,10 +325,6 @@ public abstract class JTemplate<T extends IOFile, U extends BaseUndoState<?>> ex
fireSuperTargetModified(); fireSuperTargetModified();
} }
public void fireElementCasePane(){
return;
}
protected boolean accept(Object o){ protected boolean accept(Object o){
return true; return true;
} }

Loading…
Cancel
Save