Examples of Container


Examples of org.joshy.gfx.node.layout.Container

    }


    public void regenHandles(SNode node) {
        List<Handle> handles = selected.get(node);
        Container popupLayer = context.getSketchCanvas().getParent().getStage().getPopupLayer();
        for(Handle h : handles) {
            for(Control c : h.getControls()) {
                popupLayer.remove(c);
                handleControls.remove(c);
            }
        }
        if(selected.containsKey(node)) {
            List<Handle> handles2 = selected.get(node);
View Full Code Here

Examples of org.kite9.diagram.primitives.Container

            subject, verb);
        PropositionBinding or = new PropositionBinding(subject, verb, object);
       

        SimpleNoun to = NounFactory.getRawSimpleNoun(object);
        Container cont = c == null ? getContainerFor(from, verb, ii) : c;
        DiagramElement toEl = toElementFormat.returnElement(cont, to,
            ii);

        if ((from != null) && (verb != null)) {
          DiagramElement fromEl = ii.returnExisting(from);
View Full Code Here

Examples of org.ofbiz.base.container.Container

        if (!debug) {
            debug = Debug.verboseOn();
        }

        // load the containers
        Container container = getContainers();
        if (container != null) {
            rmiLoadedContainer = container; // used in Geronimo/WASCE to allow to deregister
        }
        // check the serverId
        getServerId();
View Full Code Here

Examples of org.olat.core.gui.components.Container

      sb.append(" --suppressing output, since developmentcontroller --</div></div>");
    } else {
        sb.append((current.isVisible()? "":"INVISIBLE ")+(current.isEnabled()? "":" NOT ENABLED ")+current.getExtendedDebugInfo()+", "+current.getListenerInfo()+"<br />");
      sb.append("</div></div>");
      if (current instanceof Container) {
        Container co = (Container) current;
        Map children = co.getComponents();
        for (Iterator iter = children.values().iterator(); iter.hasNext();) {
          Component child = (Component) iter.next();
          dumpTree(sb, child, indent + 1, controllerInfos);
        }
      }
View Full Code Here

Examples of org.omg.CORBA.Container

     * @return org.omg.CORBA.Object
     */

    public org.jacorb.ir.gui.typesystem.ModelParticipant[] contents ()
    {
    Container container =
            ContainerHelper.narrow((org.omg.CORBA.Object)this.irObject);
    Contained[] contents =
            container.contents(DefinitionKind.dk_all, true);

    org.jacorb.ir.gui.typesystem.TypeSystemNode[] result =
            new org.jacorb.ir.gui.typesystem.TypeSystemNode[contents.length];

    for (int i=0; i<contents.length; i++)
View Full Code Here

Examples of org.openqreg.element.Container

    retrieveObjects();

    // Container container = disp.getSystemHolder()
    // .getContainer(containerName);
    Container container = systemHolder.getContainer(containerName);
    // if the container asked for does not exist, do nothing
    if (containerName == null || containerName.equals("")
        || container == null) {
      String jspPage = (String) pageContext.getAttribute(THISPAGENAME);
      log.log(Level.ERROR, " No Page object, " + containerName
          + " for jsp page: " + jspPage);
      return SKIP_BODY;
    }

    // if the page does not send an outputFormat use HTML
    if (null == outputFormat) {
      outputFormat = OutputFormat.HTML;
    }

    // if the page does not send an elemparam, create one
    if (null == elemParam) {
      // create elemPrameter
      elemParam = new DefaultElementParameter();
      elemParam.setUser(user);
     
      // The calendar could be set from the page
      if (calendar != null) {
        elemParam.setCalendar(calendar);
      }
      //The serviceMap could be set from the page
      if(serviceMap!=null) {
        elemParam.setServices(serviceMap);
      }
      fetch = (FetchData) pageContext.getAttribute(FETCH);
      elemParam.setFetch(fetch);
    }

    StringBuffer out = new StringBuffer();
    // if only containerName set in variablestag, get entire container
    out.append(container.getOutput(elemParam, outputFormat));

    // write to page
    try {
      pageContext.getOut().write(out.toString());
    } catch (IOException e) {
View Full Code Here

Examples of org.simpleframework.http.core.Container

                setAddress(new InetSocketAddress(getHelped().getPort()));
            }
        }

        // Complete initialization
        Container container = new SimpleContainer(this);
        ContainerServer server = new ContainerServer(container,
                getDefaultThreads());
        SimpleServer filter = new SimpleServer(server);
        Connection connection = new SocketConnection(filter);
        setConfidential(true);
View Full Code Here

Examples of org.springframework.extensions.webscripts.Container

  protected Runtime createRuntime() {
    final FTLTemplateProcessor ftlTemplateProcessor = mock(FTLTemplateProcessor.class);
    when(ftlTemplateProcessor.hasTemplate(anyString())).thenReturn(true);
    final TemplateProcessorRegistry templateProcessorRegistry = new TemplateProcessorRegistry();
    templateProcessorRegistry.registerTemplateProcessor(ftlTemplateProcessor, "ftl", "Freemarker");
    final Container container = mock(Container.class);
    when(container.getTemplateProcessorRegistry()).thenReturn(templateProcessorRegistry);
    final Runtime runtime = mock(Runtime.class);
    when(runtime.getContainer()).thenReturn(container);
    return runtime;
  }
View Full Code Here

Examples of org.springframework.xd.dirt.cluster.Container

          containerAttributes.setManagementPort(String.valueOf(managementPort));
          String containerId = containerAttributes.getId();

          if (zkConnection.isConnected() && containerRepository.exists(containerId)) {
            containerRepository.update(new Container(containerId, containerAttributes));
          }
        }
      }
    }
  }
View Full Code Here

Examples of org.teleal.cling.support.model.container.Container

      smdObjectID = null;
    }else {
      smdObjectID = objectID;
    }

    Container upnpContainer = new Container()
    upnpContainer.setClazz(new org.teleal.cling.support.model.DIDLObject.Class("object.container"));
    upnpContainer.setRestricted(true);
    didl.addContainer(upnpContainer);

    if(smdObjectID == null) {
      upnpContainer.setTitle("Root Container");
      upnpContainer.setParentID("-1");
      upnpContainer.setId("0");
    } else if (smdObjectID.matches("^Folder:([^/]+)$") ) {
      java.util.regex.Pattern folderRx = java.util.regex.Pattern.compile("^Folder:([^/]+)$");
      java.util.regex.Matcher matcher = folderRx.matcher(smdObjectID);
      matcher.find();
      upnpContainer.setTitle(matcher.group(1));
      upnpContainer.setParentID("0");
      upnpContainer.setId(smdObjectID);
     
    }
   
    return new BrowseResult(new DIDLParser().generate(didl), 1, 1);
    }
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.