Tabnine Logo
TableViewerEditor.getViewer
Code IndexAdd Tabnine to your IDE (free)

How to use
getViewer
method
in
org.eclipse.jface.viewers.TableViewerEditor

Best Java code snippets using org.eclipse.jface.viewers.TableViewerEditor.getViewer (Showing top 3 results out of 315)

origin: org.eclipse.rap/org.eclipse.rap.jface

  protected void updateFocusCell(ViewerCell focusCell,
      ColumnViewerEditorActivationEvent event) {
    // Update the focus cell when we activated the editor with these 2
    // events
    if (event.eventType == ColumnViewerEditorActivationEvent.PROGRAMMATIC
        || event.eventType == ColumnViewerEditorActivationEvent.TRAVERSAL) {

      List l = getViewer().getSelectionFromWidget();

      if (!l.contains(focusCell.getElement())) {
        getViewer().setSelection(
            new StructuredSelection(focusCell.getElement()),true);
      }

      // Set the focus cell after the selection is updated because else
      // the cell is not scrolled into view
      if (focusCellManager != null) {
        focusCellManager.setFocusCell(focusCell);
      }
    }
  }
}
origin: org.eclipse.platform/org.eclipse.jface

  @Override
  protected void updateFocusCell(ViewerCell focusCell,
      ColumnViewerEditorActivationEvent event) {
    // Update the focus cell when we activated the editor with these 2
    // events
    if (event.eventType == ColumnViewerEditorActivationEvent.PROGRAMMATIC
        || event.eventType == ColumnViewerEditorActivationEvent.TRAVERSAL) {

      List l = getViewer().getSelectionFromWidget();

      if (!l.contains(focusCell.getElement())) {
        getViewer().setSelection(
            new StructuredSelection(focusCell.getElement()), true);
      }

      // Set the focus cell after the selection is updated because else
      // the cell is not scrolled into view
      if (focusCellManager != null) {
        focusCellManager.setFocusCell(focusCell);
      }
    }
  }
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface

  @Override
  protected void updateFocusCell(ViewerCell focusCell,
      ColumnViewerEditorActivationEvent event) {
    // Update the focus cell when we activated the editor with these 2
    // events
    if (event.eventType == ColumnViewerEditorActivationEvent.PROGRAMMATIC
        || event.eventType == ColumnViewerEditorActivationEvent.TRAVERSAL) {

      List l = getViewer().getSelectionFromWidget();

      if (!l.contains(focusCell.getElement())) {
        getViewer().setSelection(
            new StructuredSelection(focusCell.getElement()), true);
      }

      // Set the focus cell after the selection is updated because else
      // the cell is not scrolled into view
      if (focusCellManager != null) {
        focusCellManager.setFocusCell(focusCell);
      }
    }
  }
}
org.eclipse.jface.viewersTableViewerEditorgetViewer

Popular methods of TableViewerEditor

  • create
    Create a customized editor with focusable cells
  • <init>

Popular in Java

  • Start an intent from android
  • setScale (BigDecimal)
  • setContentView (Activity)
  • setRequestProperty (URLConnection)
  • Menu (java.awt)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now