private static void createIssuesTable(Shell shell) { BasicEventList issuesEventList = new BasicEventList(); Composite comp1 = new Composite(shell, SWT.NONE); comp1.setLayout(new FillLayout()); final KTable table = new KTable(comp1, SWT.FULL_SELECTION | SWT.MULTI | SWT.V_SCROLL | SWT.H_SCROLL | SWTX.FILL_WITH_LASTCOL | SWTX.EDIT_ON_KEY); DefaultEventKTableModel tableModel = GlazedListsKTable.eventKTableModelWithThreadProxyList(table, issuesEventList, new IssuesTableFormat()); table.setModel(tableModel); // loads issues final IssueLoader issueLoader = new IssueLoader(issuesEventList, new SimpleThrobber()); issueLoader.start(); issueLoader.setProject(Project.getProjects().get(0)); }
private static void createIssuesTable(Shell shell) { BasicEventList issuesEventList = new BasicEventList(); Composite comp1 = new Composite(shell, SWT.NONE); comp1.setLayout(new FillLayout()); final KTable table = new KTable(comp1, SWT.FULL_SELECTION | SWT.MULTI | SWT.V_SCROLL | SWT.H_SCROLL | SWTX.FILL_WITH_LASTCOL | SWTX.EDIT_ON_KEY); DefaultEventKTableModel tableModel = GlazedListsKTable.eventKTableModelWithThreadProxyList(table, issuesEventList, new IssuesTableFormat()); table.setModel(tableModel); // loads issues final IssueLoader issueLoader = new IssueLoader(issuesEventList, new SimpleThrobber()); issueLoader.start(); issueLoader.setProject(Project.getProjects().get(0)); }
private static void createIssuesTable(Shell shell) { BasicEventList issuesEventList = new BasicEventList(); Composite comp1 = new Composite(shell, SWT.NONE); comp1.setLayout(new FillLayout()); final KTable table = new KTable(comp1, SWT.FULL_SELECTION | SWT.MULTI | SWT.V_SCROLL | SWT.H_SCROLL | SWTX.FILL_WITH_LASTCOL | SWTX.EDIT_ON_KEY); EventKTableModel tableModel = new EventKTableModel(table, issuesEventList, new IssuesTableFormat()); table.setModel(tableModel); // loads issues final IssueLoader issueLoader = new IssueLoader(issuesEventList, new SimpleThrobber()); issueLoader.start(); issueLoader.setProject(Project.getProjects().get(0)); }