AttributeView attributeView = new AttributeView(
attributeViewHandler, true);
WindowInterface dialog = new JDialogAdapter(new JDialog(
ProTransMain.PRO_TRANS_MAIN, "Attributt", true));
dialog.setName("AttributeView");
dialog.add(attributeView.buildPanel(dialog));
dialog.pack();
Util.locateOnScreenCenter(dialog);
dialog.setVisible(true);
List<Attribute> newAttributes = attributeView.getSelectedObjects();