Examples of addItem()


Examples of org.eclipse.wb.internal.core.model.nonvisual.EllipsisObjectInfo.addItem()

      for (JavaInfo javaInfo : javaInfoList) {
        if (javaInfo instanceof ColumnConfigInfo && javaInfo.getParent() == null) {
          ColumnConfigInfo column = (ColumnConfigInfo) javaInfo;
          if (column.isRepresentedBy(asListArgument)) {
            addChild(column);
            arrayInfo.addItem(column);
            column.setAssociation(new InvocationChildEllipsisAssociation(invocation, arrayInfo));
          }
        }
      }
    }
View Full Code Here

Examples of org.elegant.aash.comparator.parsing.expr.ArrayExpression.addItem()

    } else if (stream.isEqualTo('[')) {
      ArrayExpression expr = new ArrayExpression();
      stream.ignoreBlanks();
      if (!stream.isEqualTo(']')) {
        Expression item = parseExpression(stream);
        expr.addItem(item);
        stream.ignoreBlanks();
        while (stream.isEqualTo(',')) {
          item = parseExpression(stream);
          expr.addItem(item);
          stream.ignoreBlanks();
View Full Code Here

Examples of org.foray.fotree.value.PropertyCollection.addItem()

            final String propertyFullName, final String value)
            throws PropertyException {
        final PropertyCollection collection = new PropertyCollection();
        final PropertyValue pv = checkKeywords(this.getValidKeywords(), value);
        if (pv != null) {
            collection.addItem(new PdCountry(pv));
            collection.addItem(new PdLanguage(pv));
            return collection;
        }
        // There are 2 properties which can be explicitly set
        final byte maxTokens = 2;
View Full Code Here

Examples of org.foray.fotree.value.ValueCollection.addItem()

            final PropertyValue parsedToken = this.standardParse(fobj, token,
                    PdFontFamily.VALID_TOKEN_KEYWORDS);
            if (parsedToken.canEvalKeyword()
                    || parsedToken instanceof DtName
                    || parsedToken instanceof DtString) {
                collection.addItem(parsedToken);
            } else {
                throw this.unexpectedValue(token, fobj);
            }
        }
        return collection;
View Full Code Here

Examples of org.geomajas.gwt.client.widget.KeepInScreenWindow.addItem()

  public void onClick(ClickEvent event) {
    PrintPreferencesCanvas canvas = new PrintPreferencesCanvas(mapWidget);
    canvas.setMargin(WidgetLayout.marginSmall);
    Window window = new KeepInScreenWindow();
    window.setTitle(MESSAGES.printPrefsTitle());
    window.addItem(canvas);
    window.centerInPage();
    window.setAutoSize(true);
    window.show();
  }
View Full Code Here

Examples of org.geomajas.widget.featureinfo.client.widget.DockableWindow.addItem()

              Window window = new DockableWindow();
              window.setTitle(messages.exportToCsvWindowTitle());
              String content = CONTENT_PRE + messages.exportToCsvContentReady() + CONTENT_POST;
              String linktocsv = messages.exportToCsvDownloadLink(link) + LINK_POST;
              window.addItem(new HTMLFlow(content + linktocsv));
              window.centerInPage();
              window.setAutoSize(true);
              window.show();
              window.setKeepInParentRect(true);
            }
View Full Code Here

Examples of org.gephi.ui.components.JPopupButton.addItem()

            //Mode
            final JPopupButton labelSizeModeButton = new JPopupButton();
            TextManager textManager = VizController.getInstance().getTextManager();
            for (final SizeMode sm : textManager.getSizeModes()) {
                labelSizeModeButton.addItem(sm, sm.getIcon());
            }
            labelSizeModeButton.setSelectedItem(model.getSizeMode());
            labelSizeModeButton.setChangeListener(new ChangeListener() {

                public void stateChanged(ChangeEvent e) {
View Full Code Here

Examples of org.gwt.mosaic.ui.client.PopupMenu.addItem()

        final PopupMenu timeBtnMenu = new PopupMenu();

        for(final TimespanValues ts : TimespanValues.values())
        {
            timeBtnMenu.addItem(ts.getCanonicalName(), new Command()
            {
                public void execute()
                {

                    LoadDatasetEvent theEvent = new LoadDatasetEvent();
View Full Code Here

Examples of org.gwtlib.client.list.ui.StyleListBox.addItem()

  private void init(RootPanel root) {
    FlowPanel panel = new FlowPanel();
    StyleListBox styles = new StyleListBox();
    styles.setWidth("80px");
    for(int i = 0; i < 10; ++i) {
      styles.addItem("item " + (i + 1));
      styles.addStyleName(i, i % 2 == 0 ? "gwtlib-StyleListBox-even" : "gwtlib-StyleListBox-odd");
    }
    ColorListBox colors = new ColorListBox();
    colors.setWidth("80px");
    String[] cols = { "red", "green", "blue", "red", "green", "blue" };
View Full Code Here

Examples of org.gwtlib.client.menu.ui.MenuBar.addItem()

    edit.addItem("Redo", command);
    edit.addItem("Cut", command);
    edit.addItem("Copy", command);
    edit.addItem("Paste", command);
    editItem.setEnabled(false); // Disable after adding children so they get disabled too
    view.addItem("Date", true, command, MenuItem.Type.CHECK, false);
    view.addItem("Time", true, command, MenuItem.Type.CHECK, true);
    view.addSeparator();
    view.addItem("Radio 1", true, command, MenuItem.Type.RADIO, false);
    view.addItem("Radio 2", true, command, MenuItem.Type.RADIO, true);
    view.addSeparator();
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.