Browse Source

还原jform

master
zack 8 years ago
parent
commit
2346a95998
  1. 11
      designer_form/src/com/fr/design/mainframe/JForm.java

11
designer_form/src/com/fr/design/mainframe/JForm.java

@ -36,8 +36,6 @@ import com.fr.file.FILE;
import com.fr.form.FormElementCaseContainerProvider;
import com.fr.form.FormElementCaseProvider;
import com.fr.form.main.Form;
import com.fr.form.share.ShareLoader;
import com.fr.form.ui.ElCaseBindInfo;
import com.fr.form.ui.Widget;
import com.fr.form.ui.container.WBorderLayout;
import com.fr.form.ui.container.WLayout;
@ -53,7 +51,6 @@ import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.image.BufferedImage;
import java.util.ArrayList;
import java.util.HashMap;
public class JForm extends JTemplate<Form, FormUndoState> implements BaseJForm {
@ -625,13 +622,7 @@ public class JForm extends JTemplate<Form, FormUndoState> implements BaseJForm {
} else {
JPanel pane = new JPanel();
pane.setLayout(new BorderLayout());
//pane.add(FormWidgetDetailPane.getInstance(formDesign), BorderLayout.CENTER);
ArrayList<ElCaseBindInfo> elCaseBindInfos = new ArrayList<>();
for (ElCaseBindInfo info :
ShareLoader.getLoader().getAllBindInfos().values()) {
elCaseBindInfos.add(info);
}
pane.add(new ShareWidgetPane(elCaseBindInfos.toArray(new ElCaseBindInfo[elCaseBindInfos.size()])), BorderLayout.CENTER);
pane.add(FormWidgetDetailPane.getInstance(formDesign), BorderLayout.CENTER);
EastRegionContainerPane.getInstance().replaceDownPane(pane);
}
}

Loading…
Cancel
Save