Exemplo n.º 1
0
 private ScControl createGroup() {
   ScGroup g = new ScGroup();
   g.add(createFields());
   g.addBreak();
   g.addButton(newSaveCommand(), "Save");
   g.addBackButton("Cancel");
   return g;
 }
  private ScGroup createRouteGroup() {
    AcUspsInternationalSkeletonRouteTools x = AcUspsInternationalSkeletonRouteTools.instance;
    ScContainer c = new ScContainer();
    c.useFieldLayout();
    c.add(x.newBeginDateBoldText("Begin"));
    c.add(x.newEndDateBoldText("End"));
    c.add(x.newOriginAirportCodeBoldText("Origin"));
    c.add(x.newDestinationAirportCodeBoldText("Destination"));

    _route = new ScGroup();
    _route.add(c);
    _route.addBreak();
    _route.addButton(newEditRouteCommand(), "Edit");
    return _route;
  }
 private ScControl createGroup() {
   ScGroup g = new ScGroup();
   g.add(createFields());
   return g;
 }