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

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

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

Table.setToolTipText介绍

暂无

代码示例

代码示例来源:origin: org.eclipse/org.eclipse.jst.ws.consumption.ui

public void setToolTipText(String string)
{
 table_.setToolTipText(string);
}

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

@Override
public void setToolTipText (String string) {
  super.setToolTipText(string);
  table.setToolTipText(string);
}

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

@Override
public void setToolTipText (String string) {
  super.setToolTipText(string);
  table.setToolTipText(string);
}

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

@Override
public void setToolTipText (String string) {
  super.setToolTipText(string);
  table.setToolTipText(string);
}

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

@Override
public void setToolTipText (String string) {
  super.setToolTipText(string);
  table.setToolTipText(string);
}

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

public void setToolTipText (String string) {
  super.setToolTipText(string);
  table.setToolTipText(string);
}

代码示例来源:origin: org.apache.uima/uimaj-ep-configurator

/**
 * Handle table hover help.
 *
 * @param event the event
 */
// *****************************************************
private void handleTableHoverHelp(Event event) {
 TableItem item = table.getItem(new Point(event.x, event.y));
 if (null != item) {
  ExternalResourceDependency xrd = getXRDependencyFromTableItem(item);
  setToolTipText(table, xrd.getDescription());
 } else {
  table.setToolTipText(""); // not needed? - tool tip goes away by itself
 }
}

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

protected void installFakeTooptips() {
  table.addListener(SWT.Dispose, tableListener);
  table.addListener(SWT.KeyDown, tableListener);
  table.addListener(SWT.MouseMove, tableListener);
  table.addListener(SWT.MouseHover, tableListener);
  // Disable native tooltip
  table.setToolTipText("");
}

代码示例来源:origin: org.apache.uima/uimaj-ep-configurator

/**
 * Handle table hover help.
 *
 * @param event the event
 */
private void handleTableHoverHelp(Event event) {
 TableItem item = filesTable.getItem(new Point(event.x, event.y));
 String sDesc = "";
 if (null != item) {
  Map dels = editor.getResolvedDelegates();
  if (null != dels) {
   sDesc = getDescriptionForDescriptor(item.getText(0), (ResourceSpecifier) dels.get(item
       .getText(1)));
  }
 }
 filesTable.setToolTipText(sDesc);
}

代码示例来源:origin: org.apache.uima/uimaj-ep-configurator

importTable.setToolTipText(sDesc);
} else {
 importTable.setToolTipText("");

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

public Table createTable( Composite parent, String tooltip, String infopop, int style )
{
 
 tooltip = tooltip == null ? "" : tooltip;
 
 Table table = new Table( parent, style );
   //table.setLayoutData( createFillAll() );
 table.setToolTipText( tooltip);
 
 if( infopop != null ) PlatformUI.getWorkbench().getHelpSystem().setHelp( table, infoPopid_ + "." + infopop );
 
 return table;      
 
}

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

gd.widthHint = 256;
table.setLayoutData(gd);
table.setToolTipText(WSUIPluginMessages.TOOLTIP_CLIENT_TYPE_TABLE_VIEWER);

代码示例来源:origin: org.eclipse/org.eclipse.jst.ws.consumption.ui

table_.setHeaderVisible(true);
table_.setLinesVisible(true);
table_.setToolTipText(ConsumptionUIMessages.TOOLTIP_TABLE_VALIDATE_MESSAGE );
TableLayout tableLayout = new TableLayout();
for (int i = 0; i < columns_.length; i++)

代码示例来源:origin: org.eclipse/org.eclipse.jst.ws.consumption.ui

servicegd.widthHint = 256;
serviceTable.setLayoutData(servicegd);
serviceTable.setToolTipText(WSUIPluginMessages.TOOLTIP_SERVICE_TYPE_TABLE_VIEWER);
gd.widthHint = 256;
table.setLayoutData(gd);
table.setToolTipText(WSUIPluginMessages.TOOLTIP_CLIENT_TYPE_TABLE_VIEWER);

代码示例来源:origin: org.eclipse/org.eclipse.jst.ws.consumption.ui

beanTable.setToolTipText(ConsumptionUIMessages.TOOLTIP_TABLE_BEAN_NAMES);
PlatformUI.getWorkbench().getHelpSystem().setHelp(beanTable, INFOPOP_PEBD_TABLE_BEAN_NAMES);

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.ide

variableTable.getTable().setToolTipText(null);
variableTable.setContentProvider(new ContentProvider());
variableTable.setInput(this);

相关文章

Table类方法