org.eclipse.swt.widgets.Table.isDisposed()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(4.5k)|赞(0)|评价(0)|浏览(247)

本文整理了Java中org.eclipse.swt.widgets.Table.isDisposed()方法的一些代码示例,展示了Table.isDisposed()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Table.isDisposed()方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Table
类名称:Table
方法名:isDisposed

Table.isDisposed介绍

暂无

代码示例

代码示例来源:origin: pentaho/pentaho-kettle

if ( table.isDisposed() ) {
 return;

代码示例来源:origin: org.eclipse/org.eclipse.jdt.ui

public void run() {
    if (fTable.isDisposed() || ticket != fSearchJobTicket)
      return;
    runnable.run();
  }
});

代码示例来源:origin: org.eclipse/org.eclipse.ajdt.ui

public void run() {
    if (fTable.isDisposed())
      return;
    runnable.run();
  }
});

代码示例来源:origin: inspectIT/inspectIT

/**
 * Returns true if the table in the sub-view is disposed. False otherwise.
 *
 * @return Returns true if the table in the sub-view is disposed. False otherwise.
 */
private boolean checkDisposed() {
  return tableViewer.getTable().isDisposed();
}

代码示例来源:origin: BiglySoftware/BiglyBT

@Override
  public void
  run()
  {
    if ( buddy_table.isDisposed()){
      return;
    }
    updateTable( false );
  }
});

代码示例来源:origin: BiglySoftware/BiglyBT

@Override
  public void
  run()
  {
    if ( buddy_table.isDisposed()){
      return;
    }
    updateTable( false );
    updateTableHeader();
  }
});

代码示例来源:origin: BiglySoftware/BiglyBT

@Override
  public void
  run()
  {
    if ( !buddy_table.isDisposed()){
      if ( !buddies.contains( buddy )){
        buddies.add( buddy );
        updateTable();
      }
    }
  }
});

代码示例来源:origin: org.codehaus.openxma/xmartclient

public void run() {
    if(!table.isDisposed()) {
      layout(false);  // if it is executed inside the event method, a horizontal scrollbar apears on shrink
    }
  }
});

代码示例来源:origin: tvrenamer/tvrenamer

private Combo newComboBox() {
  if (swtTable.isDisposed()) {
    return null;
  }
  return new Combo(swtTable, SWT.DROP_DOWN | SWT.READ_ONLY);
}

代码示例来源:origin: BiglySoftware/BiglyBT

@Override
  public void
  run()
  {
    if ( !partial_buddy_table.isDisposed()){
      if ( !partial_buddies.contains( buddy )){
        partial_buddies.add( buddy );
        updatePartialBuddyTable();
      }
    }
  }
});

代码示例来源:origin: BiglySoftware/BiglyBT

@Override
  public void
  run()
  {
    if ( !buddy_table.isDisposed()){
      if ( buddies.remove( buddy )){
        updateTable();
      }
    }
  }
});

代码示例来源:origin: BiglySoftware/BiglyBT

@Override
  public void
  run()
  {
    if ( !buddy_table.isDisposed()){
      updateTable();
    }
  }
});

代码示例来源:origin: BiglySoftware/BiglyBT

@Override
  public void
  run()
  {
    if ( !partial_buddy_table.isDisposed()){
      if ( partial_buddies.remove( buddy )){
        updatePartialBuddyTable();
      }
    }
  }
});

代码示例来源:origin: org.eclipse.platform/org.eclipse.ui.workbench

protected Collection<Object> getSelectionValue() {
  if (table == null || table.isDisposed())
    return null;
  TableItem[] items = table.getSelection();
  if (items.length <= 0) {
    return null;
  }
  ArrayList<Object> list = new ArrayList<>(1);
  list.add(items[0].getData());
  return list;
}

代码示例来源:origin: org.eclipse.rap/org.eclipse.rap.rwt

public void layout () {
  if (table == null || table.isDisposed()) return;
  if (item == null || item.isDisposed()) return;
  int columnCount = table.getColumnCount();
  if (columnCount == 0 && column != 0) return;
  if (columnCount > 0 && (column < 0 || column >= columnCount)) return;
  super.layout();
}
}

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

@Override
public void layout () {
  if (table == null || table.isDisposed()) return;
  if (item == null || item.isDisposed()) return;
  int columnCount = table.getColumnCount();
  if (columnCount == 0 && column != 0) return;
  if (columnCount > 0 && (column < 0 || column >= columnCount)) return;
  super.layout();
}
}

代码示例来源:origin: org.eclipse.platform/org.eclipse.debug.ui

private void topVisibleAddressChanged(final BigInteger address) {
  final Runnable runnable = () -> {
    if (fTableViewer.getTable().isDisposed()) {
      return;
    }
    doTopVisibleAddressChanged(address);
  };
  runOnUIThread(runnable);
}

代码示例来源:origin: org.eclipse.swt.cocoa.macosx/x86_64

public void layout () {
  if (table == null || table.isDisposed()) return;
  if (item == null || item.isDisposed()) return;
  int columnCount = table.getColumnCount();
  if (columnCount == 0 && column != 0) return;
  if (columnCount > 0 && (column < 0 || column >= columnCount)) return;
  super.layout();
}
}

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

@Override
public void layout () {
  if (table == null || table.isDisposed()) return;
  if (item == null || item.isDisposed()) return;
  int columnCount = table.getColumnCount();
  if (columnCount == 0 && column != 0) return;
  if (columnCount > 0 && (column < 0 || column >= columnCount)) return;
  super.layout();
}
}

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

@Override
public void layout () {
  if (table == null || table.isDisposed()) return;
  if (item == null || item.isDisposed()) return;
  int columnCount = table.getColumnCount();
  if (columnCount == 0 && column != 0) return;
  if (columnCount > 0 && (column < 0 || column >= columnCount)) return;
  super.layout();
}
}

相关文章

Table类方法