congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
TableViewerEditor
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.eclipse.platform/org.eclipse.jface

/**
 * Create a customized editor whose activation process is customized
 *
 * @param viewer
 *            the viewer the editor is created for
 * @param editorActivationStrategy
 *            activation strategy to control if an editor activated
 * @param feature
 *            bit mask controlling the editor
 *            <ul>
 *            <li>{@link ColumnViewerEditor#DEFAULT}</li>
 *            <li>{@link ColumnViewerEditor#TABBING_CYCLE_IN_ROW}</li>
 *            <li>{@link ColumnViewerEditor#TABBING_HORIZONTAL}</li>
 *            <li>{@link ColumnViewerEditor#TABBING_MOVE_TO_ROW_NEIGHBOR}</li>
 *            <li>{@link ColumnViewerEditor#TABBING_VERTICAL}</li>
 *            </ul>
 */
public static void create(TableViewer viewer,
    ColumnViewerEditorActivationStrategy editorActivationStrategy,
    int feature) {
  create(viewer, null, editorActivationStrategy, feature);
}
origin: org.eclipse.platform/org.eclipse.jface

@Override
protected ColumnViewerEditor createViewerEditor() {
  return new TableViewerEditor(this, null,
      new ColumnViewerEditorActivationStrategy(this),
      ColumnViewerEditor.DEFAULT);
}
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.scout.sdk.deps/org.eclipse.jface

@Override
protected ColumnViewerEditor createViewerEditor() {
  return new TableViewerEditor(this, null,
      new ColumnViewerEditorActivationStrategy(this),
      ColumnViewerEditor.DEFAULT);
}
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

/**
 * Create a customized editor whose activation process is customized
 *
 * @param viewer
 *            the viewer the editor is created for
 * @param editorActivationStrategy
 *            activation strategy to control if an editor activated
 * @param feature
 *            bit mask controlling the editor
 *            <ul>
 *            <li>{@link ColumnViewerEditor#DEFAULT}</li>
 *            <li>{@link ColumnViewerEditor#TABBING_CYCLE_IN_ROW}</li>
 *            <li>{@link ColumnViewerEditor#TABBING_HORIZONTAL}</li>
 *            <li>{@link ColumnViewerEditor#TABBING_MOVE_TO_ROW_NEIGHBOR}</li>
 *            <li>{@link ColumnViewerEditor#TABBING_VERTICAL}</li>
 *            </ul>
 */
public static void create(TableViewer viewer,
    ColumnViewerEditorActivationStrategy editorActivationStrategy,
    int feature) {
  create(viewer, null, editorActivationStrategy, feature);
}
origin: org.eclipse.rap/org.eclipse.rap.jface

protected ColumnViewerEditor createViewerEditor() {
  return new TableViewerEditor(this, null,
      new ColumnViewerEditorActivationStrategy(this),
      ColumnViewerEditor.DEFAULT);
}
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);
      }
    }
  }
}
origin: org.eclipse.rap/org.eclipse.rap.jface

/**
 * Create a customized editor whose activation process is customized
 *
 * @param viewer
 *            the viewer the editor is created for
 * @param editorActivationStrategy
 *            activation strategy to control if an editor activated
 * @param feature
 *            bit mask controlling the editor
 *            <ul>
 *            <li>{@link ColumnViewerEditor#DEFAULT}</li>
 *            <li>{@link ColumnViewerEditor#TABBING_CYCLE_IN_ROW}</li>
 *            <li>{@link ColumnViewerEditor#TABBING_HORIZONTAL}</li>
 *            <li>{@link ColumnViewerEditor#TABBING_MOVE_TO_ROW_NEIGHBOR}</li>
 *            <li>{@link ColumnViewerEditor#TABBING_VERTICAL}</li>
 *            </ul>
 */
public static void create(TableViewer viewer,
    ColumnViewerEditorActivationStrategy editorActivationStrategy,
    int feature) {
  create(viewer, null, editorActivationStrategy, feature);
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface

  ColumnViewerEditorActivationStrategy editorActivationStrategy,
  int feature) {
TableViewerEditor editor = new TableViewerEditor(viewer,
    focusCellManager, editorActivationStrategy, feature);
viewer.setColumnViewerEditor(editor);
origin: Adobe-Marketing-Cloud/aem-eclipse-developer-tools

    | ColumnViewerEditor.KEYBOARD_ACTIVATION
    | ColumnViewerEditor.KEEP_EDITOR_ON_DOUBLE_CLICK;
TableViewerEditor.create(propertiesViewer, focusCellMgr, actSupport,
    features);
origin: org.eclipse.rap/org.eclipse.rap.jface

  ColumnViewerEditorActivationStrategy editorActivationStrategy,
  int feature) {
TableViewerEditor editor = new TableViewerEditor(viewer,
    focusCellManager, editorActivationStrategy, feature);
viewer.setColumnViewerEditor(editor);
origin: org.eclipse.platform/org.eclipse.jface

  ColumnViewerEditorActivationStrategy editorActivationStrategy,
  int feature) {
TableViewerEditor editor = new TableViewerEditor(viewer,
    focusCellManager, editorActivationStrategy, feature);
viewer.setColumnViewerEditor(editor);
org.eclipse.jface.viewersTableViewerEditor

Javadoc

This is an editor-implementation for Table

Most used methods

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

Popular in Java

  • Start an intent from android
  • runOnUiThread (Activity)
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • 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