Package org.eclipse.jface.util

Examples of org.eclipse.jface.util.OpenStrategy.addSelectionListener()


   * (non-Javadoc) Method declared on Viewer.
   */
  protected void hookControl(Control control) {
    super.hookControl(control);
    OpenStrategy handler = new OpenStrategy(control);
    handler.addSelectionListener(new SelectionListener() {
      public void widgetSelected(SelectionEvent e) {
        // On Windows, selection events may happen during a refresh.
        // Ignore these events if we are currently in preservingSelection().
        // See bug 184441.
        if (!inChange) {
View Full Code Here


   * (non-Javadoc) Method declared on Viewer.
   */
  protected void hookControl(Control control) {
    super.hookControl(control);
    OpenStrategy handler = new OpenStrategy(control);
    handler.addSelectionListener(new SelectionListener() {
      public void widgetSelected(SelectionEvent e) {
        // On Windows, selection events may happen during a refresh.
        // Ignore these events if we are currently in preservingSelection().
        // See bug 184441.
        if (!inChange) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.