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

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

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

Table.getAccessible介绍

暂无

代码示例

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

/**
   * Returns the accessible object for the receiver.
   * If this is the first time this object is requested,
   * then the object is created and returned.
   *
   * @return the accessible object
   *
   * @exception SWTException <ul>
   *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
   *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
   * </ul>
   *
   * @see Accessible#addAccessibleListener
   * @see Accessible#addAccessibleControlListener
   *
   * @since 3.3
   */
  @Override
  public Accessible getAccessible() {
    return fList.getAccessible();
  }
}

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

gd.horizontalSpan= 2;
table.setLayoutData(gd);
table.getAccessible().addAccessibleListener(new AccessibleAdapter() {
  public void getName(AccessibleEvent e) {
    if (table.getSelectionCount() == 0) {

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

gd.horizontalSpan= 2;
table.setLayoutData(gd);
table.getAccessible().addAccessibleListener(new AccessibleAdapter() {
  @Override
  public void getName(AccessibleEvent e) {

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

gd.horizontalSpan= 2;
table.setLayoutData(gd);
table.getAccessible().addAccessibleListener(new AccessibleAdapter() {
  @Override
  public void getName(AccessibleEvent e) {

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

gd.horizontalSpan= 2;
table.setLayoutData(gd);
table.getAccessible().addAccessibleListener(new AccessibleAdapter() {
  public void getName(AccessibleEvent e) {
    if (table.getSelectionCount() == 0) {

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

private  void createTableViewer(Composite parent) {
  fTableViewer= new TableViewer(new Table(parent, SWT.SINGLE | SWT.H_SCROLL));
  fTableViewer.setLabelProvider(new RefactoringStatusEntryLabelProvider());
  fTableViewer.setContentProvider(new RefactoringStatusContentProvider());
  fTableViewer.addSelectionChangedListener(new ISelectionChangedListener() {
    public void selectionChanged(SelectionChangedEvent event) {
      entrySelected(event.getSelection());
      fNextProblem.update();
      fPreviousProblem.update();
    }
  });
  fTableViewer.setComparator(new RefactoringStatusSorter());	
  Table tableControl= fTableViewer.getTable();
  // must set the dialog font here since we pack the table and this
  // might otherwise happen with the wrong font resulting in clipped
  // messages.
  tableControl.setFont(JFaceResources.getDialogFont());
  GridData gd= new GridData(GridData.FILL_BOTH);
  tableControl.setLayoutData(gd);
  // Add a column so that we can pack it in setVisible.
  TableColumn tc= new TableColumn(tableControl, SWT.NONE);
  tc.setResizable(false);
  
  tableControl.getAccessible().addAccessibleListener(new AccessibleAdapter() {
    public void getName(AccessibleEvent e) {
      e.result= RefactoringUIMessages.RefactoringStatusViewer_Found_problems;
    }
  });
}

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

list.getTable().getAccessible().addAccessibleListener(
    new AccessibleAdapter() {
      @Override

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.examples

overrideTable.getAccessible().addAccessibleListener(overrideAccessibleAdapter);

相关文章

Table类方法