From a00fe20862ea2ce8496ea0a95a8bb83216e87ee3 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 27 Aug 2015 16:40:24 +0200 Subject: [client] filter the table of the columns we dont wanna see when linking an existing lecture to another image --- .../java/org/openslx/dozmod/gui/wizard/page/LectureImageListPage.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dozentenmodul/src/main/java') diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/LectureImageListPage.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/LectureImageListPage.java index 76a41973..512aecdc 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/LectureImageListPage.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/LectureImageListPage.java @@ -6,6 +6,7 @@ import javax.swing.event.ListSelectionListener; import org.apache.log4j.Logger; import org.openslx.bwlp.thrift.iface.ImageSummaryRead; import org.openslx.dozmod.gui.control.table.ImageTable; +import org.openslx.dozmod.gui.control.table.ListTable.ListTableColumn; import org.openslx.dozmod.gui.wizard.Wizard; import org.openslx.dozmod.gui.wizard.layout.LectureImageListPageLayout; import org.openslx.dozmod.state.LectureWizardState; @@ -31,6 +32,9 @@ public class LectureImageListPage extends LectureImageListPageLayout { super(wizard); this.state = state; setPageComplete(false); + imageTable.setColumnVisible(ImageTable.COL_OS, false); + imageTable.setColumnVisible(ImageTable.COL_TEMPLATE, false); + imageTable.setColumnVisible(ImageTable.COL_SIZE, false); imageTable.getSelectionModel().addListSelectionListener(new ListSelectionListener() { @Override public void valueChanged(ListSelectionEvent e) { -- cgit v1.2.3-55-g7522