Examples of ModifyListener


Examples of org.eclipse.swt.events.ModifyListener

      for (String keyword : previousKeywords) {
        fKeywordInput.add(keyword);
      }
    }

    fKeywordInput.addModifyListener(new ModifyListener() {
      public void modifyText(ModifyEvent e) {
        updatePageComplete();
      }
    });
View Full Code Here

Examples of org.eclipse.swt.events.ModifyListener

      nameContainer.setBackground(control.getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND));

      fNameInput = new Text(nameContainer, SWT.SINGLE);
      OwlUI.makeAccessible(fNameInput, nameLabel);
      fNameInput.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, true));
      fNameInput.addModifyListener(new ModifyListener() {
        public void modifyText(ModifyEvent e) {
          setErrorMessage(null);
        }
      });
View Full Code Here

Examples of org.eclipse.swt.events.ModifyListener

    if (fInitialSearchConditions != null && !fInitialSearchConditions.isEmpty()) {
      fNameInput.setText(ModelUtils.getName(fInitialSearchConditions, fInitialMatchAllConditions));
      fNameInput.selectAll();
    }

    fNameInput.addModifyListener(new ModifyListener() {
      public void modifyText(ModifyEvent e) {
        validateInput();
      }
    });
View Full Code Here

Examples of org.eclipse.swt.events.ModifyListener

        }
      }
    });

    /* Update Filter on Modified Input */
    fFilterText.addModifyListener(new ModifyListener() {
      public void modifyText(ModifyEvent e) {
        textChanged();
      }
    });
  }
View Full Code Here

Examples of org.eclipse.swt.events.ModifyListener

        fLinkInput.setText(HTTP);
        fLinkInput.setSelection(HTTP.length());
      }

      fLinkInput.setLayoutData(new GridData(SWT.FILL, SWT.BEGINNING, true, false));
      fLinkInput.addModifyListener(new ModifyListener() {
        public void modifyText(ModifyEvent e) {
          validateInput();
        }
      });

      Label l1 = new Label(container, SWT.NONE);
      l1.setText("Name: ");

      Composite nameContainer = new Composite(container, SWT.BORDER);
      nameContainer.setLayoutData(new GridData(SWT.FILL, SWT.BEGINNING, true, false));
      nameContainer.setLayout(LayoutUtils.createGridLayout(2, 0, 0));
      nameContainer.setBackground(container.getDisplay().getSystemColor(SWT.COLOR_WHITE));

      fNameInput = new Text(nameContainer, SWT.SINGLE);
      fNameInput.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, true));
      fNameInput.addModifyListener(new ModifyListener() {
        public void modifyText(ModifyEvent e) {
          validateInput();
        }
      });
View Full Code Here

Examples of org.eclipse.swt.events.ModifyListener

    Label nameLabel = new Label(container, SWT.NONE);
    nameLabel.setText("Name: ");

    fNameInput = new Text(container, SWT.SINGLE | SWT.BORDER);
    fNameInput.setLayoutData(new GridData(SWT.FILL, SWT.BEGINNING, true, false));
    fNameInput.addModifyListener(new ModifyListener() {
      public void modifyText(ModifyEvent e) {
        validateInput();
      }
    });
View Full Code Here

Examples of org.eclipse.swt.events.ModifyListener

        fLinkInput.setText(HTTP);
        fLinkInput.setSelection(HTTP.length());
      }

      fLinkInput.setLayoutData(new GridData(SWT.FILL, SWT.BEGINNING, true, false));
      fLinkInput.addModifyListener(new ModifyListener() {
        public void modifyText(ModifyEvent e) {
          validateInput();
        }
      });

      Label l1 = new Label(container, SWT.NONE);
      l1.setText("Name: ");

      Composite nameContainer = new Composite(container, SWT.BORDER);
      nameContainer.setLayoutData(new GridData(SWT.FILL, SWT.BEGINNING, true, false));
      nameContainer.setLayout(LayoutUtils.createGridLayout(2, 0, 0));
      nameContainer.setBackground(container.getDisplay().getSystemColor(SWT.COLOR_WHITE));

      fNameInput = new Text(nameContainer, SWT.SINGLE);
      fNameInput.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, true));
      fNameInput.addModifyListener(new ModifyListener() {
        public void modifyText(ModifyEvent e) {
          validateInput();
        }
      });
View Full Code Here

Examples of org.eclipse.swt.events.ModifyListener

      Label l1 = new Label(container, SWT.NONE);
      l1.setText("Name: ");

      fNameInput = new Text(container, SWT.SINGLE | SWT.BORDER);
      fNameInput.setLayoutData(new GridData(SWT.FILL, SWT.BEGINNING, true, false));
      fNameInput.addModifyListener(new ModifyListener() {
        public void modifyText(ModifyEvent e) {
          validateInput();
        }
      });
View Full Code Here

Examples of org.eclipse.swt.events.ModifyListener

      label.setLayoutData(new GridData(SWT.BEGINNING, SWT.CENTER, false, false));
      label.setText("File: ");

      fInput = new Text(control, SWT.BORDER);
      fInput.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
      fInput.addModifyListener(new ModifyListener() {
        public void modifyText(ModifyEvent e) {
          setErrorMessage(null);
        }
      });
View Full Code Here

Examples of org.eclipse.swt.events.ModifyListener

        }
      }
    });

    /* Hide SearchBar if search is done */
    fSearchBar.getControl().addModifyListener(new ModifyListener() {
      public void modifyText(ModifyEvent e) {

        /* Feature not Used, return */
        if (fAlwaysShowSearch)
          return;
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.