.getBean(ApplicationParamManager.MANAGER_NAME);
ApplicationParamUtil.setApplicationParamManger(applicationParamManager);
AttachmentViewHandler attachmentViewHandler = new AttachmentViewHandler(
"testdir");
final AttachmentView viewer = new AttachmentView(attachmentViewHandler);
JDialog dialog = GuiActionRunner.execute(new GuiQuery<JDialog>() {
protected JDialog executeInEDT() {
JDialog dialog = new JDialog();
WindowInterface window = new JDialogAdapter(dialog);
dialog.add(viewer.buildPanel(window));
dialog.pack();
return dialog;
}
});
dialogFixture = new DialogFixture(dialog);