Examples of addGroup()


Examples of org.woped.editor.controller.CompoundGroup.addGroup()

                           Iterator<?> it = allGroups.iterator();
                           while (it.hasNext()) {
                             Group currentGroup = (Group) it.next();
                             if (currentGroupName.equals(currentGroup.name)) {
                               currentGroup.addAncestor(currentSuperGroup);
                               currentSuperGroup.addGroup(currentGroup);
                             }
                           }
                   }
              }
          
View Full Code Here

Examples of org.woped.editor.controller.Layout.addGroup()

            }
            if (yend == -1) {
              yend = ystart;
            }
            GroupLocator locationOfCurrentGroup = new GroupLocator(name, column, ystart, yend);
            layout.addGroup(locationOfCurrentGroup);
          }
          return layout;
        }
      }
View Full Code Here

Examples of quickfix.Message.addGroup()

        message.setField(new TradeOriginationDate(TX_DATE));

        Group g1 = new Group(NoAllocs.FIELD, AllocAccount.FIELD);
        g1.setField(new AllocAccount("ABC"));
        g1.setField(new IndividualAllocID("PQR"));
        message.addGroup(g1);
        Group g2 = new Group(NoAllocs.FIELD, AllocAccount.FIELD);
        g2.setField(new AllocAccount("MNO"));
        g2.setField(new IndividualAllocID("XYZ"));
        message.addGroup(g2);
View Full Code Here

Examples of quickfix.fix41.NewOrderSingle.addGroup()

        message.setField(new TradeOriginationDate(TX_DATE));

        Group g1 = new Group(NoAllocs.FIELD, AllocAccount.FIELD);
        g1.setField(new AllocAccount("ABC"));
        g1.setField(new IndividualAllocID("PQR"));
        message.addGroup(g1);
        Group g2 = new Group(NoAllocs.FIELD, AllocAccount.FIELD);
        g2.setField(new AllocAccount("MNO"));
        g2.setField(new IndividualAllocID("XYZ"));
        message.addGroup(g2);
View Full Code Here

Examples of quickfix.fix42.Email.addGroup()

    public static Email createEmailMessage(String subject) {
        Email email = new Email(new EmailThreadID("ID"), new EmailType(EmailType.NEW), new Subject(subject));
        Email.LinesOfText text = new Email.LinesOfText();
        text.set(new Text("Content"));
        email.addGroup(text);
        return email;
    }
}
View Full Code Here

Examples of quickfix.fix44.MarketDataRequest.addGroup()

    MarketDataRequest tickerRequest = new MarketDataRequest();

    NoRelatedSym noRelatedSym = new NoRelatedSym();
    noRelatedSym.set(new Symbol(symbol));
    tickerRequest.addGroup(noRelatedSym);

    tickerRequest.set(new MDReqID("123")); // any value
    tickerRequest.set(new SubscriptionRequestType(subscriptionRequestType));
    tickerRequest.set(new MarketDepth(0));
View Full Code Here

Examples of quickfix.fix44.QuoteRequest.addGroup()

        group.setField(new OrderQty(500));
        group.setField(new SettlDate("20151116"));
        group.setField(new QuotePriceType(1));
        group.setField(new ValidUntilTime(new Date()));
        group.setField(new ExpireTime(new Date()));
        message.addGroup(group);
        System.out.println("Original Message: " + message);

        MessageContext msgCtx = new MessageContext();
        FIXUtils.getInstance().setSOAPEnvelope(message, 1, "TestSession", msgCtx);
        OMElement msgElt = msgCtx.getEnvelope().getBody().getFirstElement();
View Full Code Here

Examples of ro.isdc.wro.model.WroModel.addGroup()

  private void configureMojoForModelWithImportedCssResource(final String importResource)
      throws Exception {
    final String parentResource = "parent.css";

    final WroModel model = new WroModel();
    model.addGroup(new Group("g1").addResource(Resource.create(parentResource)));
    when(mockLocator.locate(Mockito.anyString())).thenAnswer(answerWithContent(""));
    final String parentContent = String.format("@import url(%s)", importResource);
    when(mockLocator.locate(Mockito.eq(parentResource))).thenAnswer(answerWithContent(parentContent));

    victim = new Wro4jMojo() {
View Full Code Here

Examples of ru.tehkode.permissions.PermissionUser.addGroup()

    if (args.containsKey("lifetime")) {
      try {
        int lifetime = DateUtils.parseInterval(args.get("lifetime"));

        user.addGroup(groupName, worldName, lifetime);
      } catch (NumberFormatException e) {
        sender.sendMessage(ChatColor.RED + "Group lifetime should be number!");
        return;
      }
View Full Code Here

Examples of storm.trident.graph.GraphGrouper.addGroup()

        // TODO: in the future, want a way to include this logic in the spout itself,
        // or make it unecessary by having storm include metadata about which grouping a tuple
        // came from
       
        for(Node n: forNewGroups) {
            grouper.addGroup(new Group(graph, n));
        }
       
        // add in spouts as groups so we can get parallelisms
        for(Node n: spoutNodes) {
            grouper.addGroup(new Group(graph, n));
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.