Package org.rssowl.ui.internal.util

Examples of org.rssowl.ui.internal.util.ContentAssistAdapter


   * content assist is available.
   * @param large if <code>true</code>, make the content assist large in height
   * @return Pair
   */
  public static Pair<SimpleContentProposalProvider, ContentProposalAdapter> hookAutoComplete(final Text text, Collection<String> values, boolean decorate, boolean large) {
    return hookAutoComplete(text, new ContentAssistAdapter(text, ' ', false), values, decorate, large);
  }
View Full Code Here


   * @param decorate if <code>true</code>, decorate the control to indicate
   * content assist is available.
   * @return Pair
   */
  public static Pair<SimpleContentProposalProvider, ContentProposalAdapter> hookAutoComplete(final Combo combo, Collection<String> values, boolean decorate) {
    return hookAutoComplete(combo, new ContentAssistAdapter(combo, ' ', false), values, decorate, true);
  }
View Full Code Here

        onModifyName();
      }
    });

    /* Add auto-complete for Labels taken from existing Categories */
    ContentAssistAdapter adapter = new ContentAssistAdapter(fLabelsInput, ',', true);

    /* Labels */
    final List<String> labelNames = new ArrayList<String>(fExistingLabels.size());
    for (ILabel label : fExistingLabels) {
      labelNames.add(label.getName());
View Full Code Here

   * content assist is available.
   * @param autoActivate
   * @return Pair
   */
  public static Pair<SimpleContentProposalProvider, ContentProposalAdapter> hookAutoComplete(final Text text, Collection<String> values, boolean decorate, boolean autoActivate) {
    return hookAutoComplete(text, new ContentAssistAdapter(text, ' ', false), values, decorate, autoActivate);
  }
View Full Code Here

   * @param decorate if <code>true</code>, decorate the control to indicate
   * content assist is available.
   * @return Pair
   */
  public static Pair<SimpleContentProposalProvider, ContentProposalAdapter> hookAutoComplete(final Combo combo, Collection<String> values, boolean decorate) {
    return hookAutoComplete(combo, new ContentAssistAdapter(combo, ' ', false), values, decorate, true);
  }
View Full Code Here

        onModifyName();
      }
    });

    /* Add auto-complete for Labels taken from existing Categories */
    ContentAssistAdapter adapter = new ContentAssistAdapter(fLabelsInput, ',', true);

    /* Labels */
    final List<String> labelNames = new ArrayList<String>(fExistingLabels.size());
    for (ILabel label : fExistingLabels) {
      labelNames.add(label.getName());
View Full Code Here

TOP

Related Classes of org.rssowl.ui.internal.util.ContentAssistAdapter

Copyright © 2018 www.massapicom. 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.