congrats Icon
New! Announcing our next generation AI code completions
Read here
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

  • Finding current android device location
  • scheduleAtFixedRate (Timer)
  • findViewById (Activity)
  • requestLocationUpdates (LocationManager)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JButton (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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