我搜索一个库、一个“.zip”-archiv 或其他简单的方法来获取所有“eclipse-icons”。我的意思是选项卡顶部的图标(错误、调试、搜索、任务等..)
任何想法?
我有一个有4列的表.我尝试为第三列的所有单元格集成ToolTip.使用我的代码,工具提示仅出现在第一列的单元格中.
这是我的代码:
protected void checkAction() throws Exception {
System.out.println("Start Test");
//Erstellen einer neuen Shell
final Shell shell = new Shell();
shell.setSize(280, 300);
shell.setText("Testtabelle");
//Erstellen einer neuen Tabelle
final Table table = new Table(shell, SWT.MULTI | SWT.BORDER | SWT.FULL_SELECTION);
table.setLinesVisible(true);
table.setHeaderVisible(true);
//Einlesen der Überschriften und Vergabe der Namen
String[] titles = {"Element", "Stage", "Type", "Generate-User", "Change-User" };
for (int i = 0; i < titles.length; i++) {
TableColumn column = new TableColumn(table, SWT.NONE);
column.setText(titles[i]);
}
// Inhalte hinzufügen
final int count …Run Code Online (Sandbox Code Playgroud)