Examples of addElement()


Examples of com.volantis.mcs.protocols.DOMOutputBuffer.addElement()

    public void testAddPhoneNumberContentsPopulatedDom() throws Exception {
        DOMOutputBuffer contentDom = new DOMOutputBuffer();
        contentDom.initialise();
        contentDom.openElement("content");
        contentDom.addElement("example");
        contentDom.appendEncoded("with text");
        contentDom.closeElement("content");

        doPhoneNumberContentTest(contentDom,
                                 "<block><prompt><content>" +
View Full Code Here

Examples of com.volantis.mcs.protocols.TestDOMOutputBuffer.addElement()

        TestDOMOutputBuffer textBuffer = new TestDOMOutputBuffer();
        Element b = textBuffer.allocateElement("b");
        Text textElement = domFactory.createText();
        textElement.append(testTextString);
        b.addTail(textElement);
        textBuffer.addElement(b);

        // Create the test text, label, and then the menu item
        MenuText text = entity.createTestMenuText(textBuffer);
        MenuLabel label = entity.createTestMenuLabel(text);
        MenuItem item = entity.createTestMenuItem(label);
View Full Code Here

Examples of de.fu_berlin.inf.dpp.whiteboard.gef.commands.CopyRecordCommand.addElement()

        continue;
      EditPart ep = (EditPart) o;
      LayoutElementRecord node = (LayoutElementRecord) ep.getModel();
      if (!cmd.isCopyableNode(node)) // TODO only copy others?
        return null;
      cmd.addElement(node);
    }
    return cmd;
  }

  @Override
View Full Code Here

Examples of de.kopis.jusenet.ui.models.ArticleListModel.addElement()

                statusbar.setAction("Entering " + g + "...");
                ArticleListModel model = (ArticleListModel)articleList.getModel();
                model.clear();
                Iterator it = g.getArticles().iterator();
                while(it.hasNext()) {
                    model.addElement(it.next());
                    try {
                        Thread.sleep(5);
                    } catch (InterruptedException e) {
                        GuiUtils.showError(e);
                    }
View Full Code Here

Examples of de.kopis.jusenet.ui.models.GroupListModel.addElement()

            Group g;
            while(it.hasNext()) {
                g = it.next();
                allgroupmodel.addElement(g);
                if(g.isSubscribed()) {
                    subscribedgroupmodel.addElement(g);
                }
            }
        } catch (JDBCConnectionException e) {
            System.err.println("Cannot open connection to database.");
            System.err.println("Maybe you restarted to fast? Let HSQLDB recover from last session.");
View Full Code Here

Examples of de.maramuse.soundcomp.process.Event.addElement()

  InputFile ifsn=new InputFile("javasrc/de/maramuse/soundcomp/test/testfiles/sd.wav");
  snare.setAbstractName("snare");
  snare.setInstanceName("snare"+nameCount++);
  snare.setDuration(0.025);
  snare.setLivetime(1.25);
  snare.addElement(ifsn);
  try{
    m3.setSource(IN_IMAG.i, ifsn, OUT.i);
    m3.setSource(IN.i, ConstStream.c(left), OUT.i);
    m4.setSource(IN_IMAG.i, ifsn, OUT_IMAG.i);
    m4.setSource(IN.i, ConstStream.c(right), OUT.i);
View Full Code Here

Examples of de.yaams.core.helper.gui.form.core.FormBuilder.addElement()

  public ConfigTab() {
    FormBuilder f = new FormBuilder("s");
    f.getHeader("basic").setTitle(I18N.t("System")).setIcon("opts").setSorting(-1);

    f.addElement("basic.smooth",
        new FormCheckbox(I18N.t("Smooth-Modus"), Yrgss.smoothmodus).addChangeListener(new FormElementChangeListener() {

          @Override
          public void stateChanged(FormElement form) {
            Yrgss.smoothmodus = Boolean.valueOf(form.getContentAsString());
View Full Code Here

Examples of de.yaams.maker.helper.gui.form.core.FormBuilder.addElement()

    // create Form
    final FormBuilder f = new FormBuilder("project");
    f.addElement("basic.folder", new FormFileSelectField(I18N.t("Ordner"), p == null ? null : p.getPath(), JFileChooser.OPEN_DIALOG, true, true))
        .addValidator(new ValidatorUmlaut());
    f.addElement("basic.name", new FormTextField(I18N.t("Name"), p == null ? "Project" : p.getTitle()));
    f.addElement("basic.icon", new FormIcon(I18N.t("Icon"), p == null ? IconCache.games[0] : p.getIcon(), IconCache.games));

    // build list for types
    String[] key = ProjectManagement.types.keySet().toArray(new String[ProjectManagement.types.size()]);
    String[] title = new String[key.length];
View Full Code Here

Examples of eu.admire.dispel.types.TupleDType.addElement()

  private void createDType() throws RegistrationFailedException {

    SimpleDType simpleDType = new SimpleDType(
        "http://www.admire-project.eu/ontologies/DataMiningOntology#SQLStatement");
    TupleDType dtype = new TupleDType();
    dtype.addElement("a", new SimpleDType("http://bla"));
    dtype.addElement("b", simpleDType);

    registry.registerDType(dTypeName, dtype);
  }
View Full Code Here

Examples of eu.admire.dispel.types.TupleSType.addElement()

  }

  private void createSType() throws RegistrationFailedException {

    TupleSType tuple = new TupleSType();
    tuple.addElement("s", new PrimitiveSType("String"));
    tuple.addElement("d", new PrimitiveSType("Double"));
    tuple.setRest(true);
    SType listOfTuplesType = new ListSType(tuple);
    SType listOfPrimitiveSType = new ListSType(new PrimitiveSType("Real"));
    SType arrayOfTuplesType = new ArraySType(tuple, 5);
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.