Examples of selectFirst()


Examples of com.canoo.webtest.engine.xpath.XPathHelper.selectFirst()

        throw new StepFailedException("Wrong result for xpath >" + fXpath + "<", getText(), actualValue, this);
      }
    }
    else
    {
      final Object singleNode = xpathHelper.selectFirst(currentResponse, getXpath());
      if (singleNode == null) {
        throw new StepFailedException("xpath test: " + fXpath + " matched no nodes", this);
      }
      else if (Boolean.FALSE.equals(singleNode))
      {
View Full Code Here

Examples of com.canoo.webtest.engine.xpath.XPathHelper.selectFirst()

    final XPathHelper xpathHelper = getContext().getXPathHelper();
    final String result = xpathHelper.stringValueOf(currentResponse, getXpath());

    // seems that result is "" and not null when nothing is found
    if (result == null
      || (result.length() == 0 && xpathHelper.selectFirst(currentResponse, getXpath()) == null)) {

      if (getDefault() == null)
      {
        throw new StepFailedException("No match for xpath expression <" + fXpath + ">", this);
      }
View Full Code Here

Examples of com.intellij.util.ListWithSelection.selectFirst()

  }

  public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) {
    final ListWithSelection options = (ListWithSelection)value;
    if (options.getSelection() == null) {
      options.selectFirst();
    }
    myComboBox.removeAllItems();
    for (Iterator each = options.iterator(); each.hasNext();) {
      myComboBox.addItem(each.next());
    }
View Full Code Here

Examples of com.intellij.util.ListWithSelection.selectFirst()

  public JComponent getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
    if (value instanceof ListWithSelection) {
      final ListWithSelection tags = (ListWithSelection)value;
      if (tags.getSelection() == null) {
        tags.selectFirst();
      }
      myCombo.removeAllItems();
      for (Object tag : tags) {
        myCombo.addItem(tag);
      }
View Full Code Here

Examples of com.intellij.util.ListWithSelection.selectFirst()

  }

  public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) {
    final ListWithSelection options = (ListWithSelection)value;
    if (options.getSelection() == null) {
      options.selectFirst();
    }
    myComboBox.removeAllItems();
    for (Iterator each = options.iterator(); each.hasNext();) {
      myComboBox.addItem(each.next());
    }
View Full Code Here

Examples of com.intellij.util.ListWithSelection.selectFirst()

                                                 int row,
                                                 int column) {
    LOG.assertTrue(value instanceof ListWithSelection, value.getClass().getName());
    final ListWithSelection tags = (ListWithSelection)value;
    if (tags.getSelection() == null) {
      tags.selectFirst();
    }
    myCombo.removeAllItems();
    for (Iterator each = tags.iterator(); each.hasNext();) {
      myCombo.addItem(each.next());
    }
View Full Code Here

Examples of jadx.core.dex.instructions.args.ArgType.selectFirst()

              + ", element type: " + elType + ", insn element type: " + insnElementType
      );
    }
    if (!elType.isTypeKnown()) {
      LOG.warn("Unknown array element type: {} in mth: {}", elType, mth);
      elType = insnElementType.isTypeKnown() ? insnElementType : elType.selectFirst();
    }
    insn.mergeElementType(elType);

    StringBuilder str = new StringBuilder();
    Object data = insn.getData();
View Full Code Here

Examples of org.jitterbit.ui.widget.list.KongaList.selectFirst()

            @Override
            public void actionPerformed(ActionEvent e) {
                handleDoubleClick();
            }
        });
        list.selectFirst();
        return list;
    }

    private KongaListFactory getListFactory() {
        KongaListFactory factory = ComponentFactories.newKongaListFactory();
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.