小编Jon*_*ton的帖子

在哪里可以找到 Eclipse 图标?

我搜索一个库、一个“.zip”-archiv 或其他简单的方法来获取所有“eclipse-icons”。我的意思是选项卡顶部的图标(错误、调试、搜索、任务等..)

任何想法?

eclipse icons

4
推荐指数
1
解决办法
2639
查看次数

使用Java SWT在其他列中工具提示?

我有一个有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)

java swt eclipse-plugin tooltip

1
推荐指数
1
解决办法
1448
查看次数

标签 统计

eclipse ×1

eclipse-plugin ×1

icons ×1

java ×1

swt ×1

tooltip ×1