本文整理了Java中org.eclipse.swt.widgets.ScrollBar.isDisposed()
方法的一些代码示例,展示了ScrollBar.isDisposed()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ScrollBar.isDisposed()
方法的具体详情如下:
包路径:org.eclipse.swt.widgets.ScrollBar
类名称:ScrollBar
方法名:isDisposed
暂无
代码示例来源:origin: BiglySoftware/BiglyBT
@Override
public void runSupport() {
if (vBar != null && !vBar.isDisposed()) {
vBar.setIncrement(defaultRowHeight);
}
}
});
代码示例来源:origin: org.eclipse.platform/org.eclipse.e4.ui.css.swt
public void uninstall(AbstractThemedScrollBarAdapter abstractThemedScrollBarAdapter, boolean disposing) {
fInitialDragPosition = null;
fScrollBarPositions = null;
fHandleDrawnRect = null;
if (this.fScrollBar != null && !this.fScrollBar.isDisposed() && !disposing) {
this.fScrollBar.removeSelectionListener(abstractThemedScrollBarAdapter);
// Restore its initial visibility state.
// Note: don't do this if we're disposing at this moment as
// StyledText will throw a NPE.
this.fScrollBar.setVisible(fInitialVisible);
}
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text
/**
* Removes all listeners and structures required to set up view port listeners.
*/
private void removeViewPortUpdate() {
if (fTextWidget != null) {
fTextWidget.removeKeyListener(fViewportGuard);
fTextWidget.removeMouseListener(fViewportGuard);
if (fScroller != null && !fScroller.isDisposed()) {
fScroller.removeSelectionListener(fViewportGuard);
fScroller= null;
}
fViewportGuard= null;
}
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.jface.text
/**
* Removes all listeners and structures required to set up view port listeners.
*/
private void removeViewPortUpdate() {
if (fTextWidget != null) {
fTextWidget.removeKeyListener(fViewportGuard);
fTextWidget.removeMouseListener(fViewportGuard);
if (fScroller != null && !fScroller.isDisposed()) {
fScroller.removeSelectionListener(fViewportGuard);
fScroller= null;
}
fViewportGuard= null;
}
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.e4.ui.css.swt
@Override
protected void checkScrollbarInvisible() {
if (this.fScrollBar == null || this.fScrollBar.isDisposed()
|| !this.fScrollBarSettings.getScrollBarThemed()) {
return;
if (fScrollBar != null && !fScrollBar.isDisposed()) {
fScrollBar.setVisible(false);
代码示例来源:origin: BiglySoftware/BiglyBT
protected void swt_fixupSize() {
boolean vBarValid = vBar != null && !vBar.isDisposed();
if (vBarValid) {
int tableSize = clientArea.height;
if (hBar != null && !hBar.isDisposed()) {
int tableSize = cTable.getSize().x;
int max = columnsWidth;
代码示例来源:origin: org.eclipse.platform/org.eclipse.debug.ui
if (scroll != null && !scroll.isDisposed()) {
scroll.removeSelectionListener(fScrollbarSelectionListener);
内容来源于网络,如有侵权,请联系作者删除!