Examples of PresentationContext


Examples of org.dcm4che3.net.pdu.PresentationContext

    }

    public void ncreate(String asuid, String cuid, String iuid,
            Attributes data, String tsuid, DimseRSPHandler rspHandler)
            throws IOException, InterruptedException {
        PresentationContext pc = pcFor(asuid, tsuid);
        checkIsSCU(cuid);
        Attributes ncreaterq =
                Commands.mkNCreateRQ(rspHandler.getMessageID(), cuid, iuid);
        invoke(pc, ncreaterq, DataWriterAdapter.forAttributes(data), rspHandler,
                conn.getResponseTimeout());
View Full Code Here

Examples of org.dcm4che3.net.pdu.PresentationContext

    }

    public void ndelete(String asuid, String cuid, String iuid,
            DimseRSPHandler rspHandler)
            throws IOException, InterruptedException {
        PresentationContext pc = pcFor(asuid, null);
        checkIsSCU(cuid);
        Attributes ndeleterq =
                Commands.mkNDeleteRQ(rspHandler.getMessageID(), cuid, iuid);
        invoke(pc, ndeleterq, null, rspHandler, conn.getResponseTimeout());
    }
View Full Code Here

Examples of org.dcm4che3.net.pdu.PresentationContext

    }

    public final void setInformationModel(InformationModel model, String[] tss,
            boolean relational) {
       this.model = model;
       rq.addPresentationContext(new PresentationContext(1, model.cuid, tss));
       if (relational)
           rq.addExtendedNegotiation(new ExtendedNegotiation(model.cuid, new byte[]{1}));
       if (model.level != null)
           addLevel(model.level);
    }
View Full Code Here

Examples of org.dcm4che3.net.pdu.PresentationContext

        this.uidSuffix = uidSuffix;
    }

    public void setTransferSyntaxes(String[] tss) {
        rq.addPresentationContext(
                new PresentationContext(1, UID.VerificationSOPClass,
                        UID.ImplicitVRLittleEndian));
        rq.addPresentationContext(
                new PresentationContext(3,
                        UID.InstanceAvailabilityNotificationSOPClass,
                        tss));
    }
View Full Code Here

Examples of org.dcm4che3.net.pdu.PresentationContext

    };

    public StoreSCU(ApplicationEntity ae) throws IOException {
        this.remote = new Connection();
        this.ae = ae;
        rq.addPresentationContext(new PresentationContext(1,
                UID.VerificationSOPClass, UID.ImplicitVRLittleEndian));
    }
View Full Code Here

Examples of org.dcm4che3.net.pdu.PresentationContext

        if (!rq.containsPresentationContextFor(cuid)) {
            if (relExtNeg)
                rq.addCommonExtendedNegotiation(relSOPClasses
                        .getCommonExtendedNegotiation(cuid));
            if (!ts.equals(UID.ExplicitVRLittleEndian))
                rq.addPresentationContext(new PresentationContext(rq
                        .getNumberOfPresentationContexts() * 2 + 1, cuid,
                        UID.ExplicitVRLittleEndian));
            if (!ts.equals(UID.ImplicitVRLittleEndian))
                rq.addPresentationContext(new PresentationContext(rq
                        .getNumberOfPresentationContexts() * 2 + 1, cuid,
                        UID.ImplicitVRLittleEndian));
        }
        rq.addPresentationContext(new PresentationContext(rq
                .getNumberOfPresentationContexts() * 2 + 1, cuid, ts));
        return true;
    }
View Full Code Here

Examples of org.dcm4che3.net.pdu.PresentationContext

    }

    public final void setInformationModel(InformationModel model, String[] tss,
            EnumSet<QueryOption> queryOptions) {
       this.model = model;
       rq.addPresentationContext(new PresentationContext(1, model.cuid, tss));
       if (!queryOptions.isEmpty()) {
           model.adjustQueryOptions(queryOptions);
           rq.addExtendedNegotiation(new ExtendedNegotiation(model.cuid,
                   QueryOption.toExtendedNegotiationInformation(queryOptions)));
       }
View Full Code Here

Examples of pt.ist.fenixWebFramework.renderers.contexts.PresentationContext

                tagCloud.setLinkFormat("#");
                tagCloud.setOnClick(getAction(input.getName()));
                tagCloud.setOnDblClick(getAction(input.getName()));
                Collection<UnitFileTag> tagList = getTags();

                PresentationContext newContext = getContext().createSubContext(getContext().getMetaObject());
                newContext.setProperties(new Properties());
                newContext.setRenderMode(RenderMode.OUTPUT);

                container.addChild(getScript());
                container.addChild(input);
                container.addChild(new HtmlText("<br/>", false));
                HtmlText text =
View Full Code Here

Examples of pt.ist.fenixWebFramework.renderers.contexts.PresentationContext

        List<? extends DomainObject> objects = getPageObjects(bean.getObjects());

        Schema schema = RenderKit.getInstance().findSchema(getSubSchema());
        MetaObject listMetaObject = MetaObjectFactory.createObject(objects, schema);

        PresentationContext context = getContext().createSubContext(listMetaObject);
        context.setRenderMode(RenderMode.OUTPUT);

        HtmlTable table = (HtmlTable) RenderKit.getInstance().renderUsing(getRenderer(), context, objects, objects.getClass());
        return decorateTable(table, objects);
    }
View Full Code Here

Examples of pt.ist.fenixWebFramework.renderers.contexts.PresentationContext

        @Override
        public HtmlComponent createComponent(Object object, Class type) {
            HtmlBlockContainer container = new HtmlBlockContainer();

            PresentationContext newContext = getContext().createSubContext(getContext().getMetaObject());
            newContext.setProperties(new Properties());
            newContext.setRenderMode(RenderMode.OUTPUT);
            PersonalCardRenderer renderer = getCardRenderer();

            for (Person person : people) {
                container.addChild(RenderKit.getInstance().renderUsing(renderer, newContext, person, Person.class));
            }
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.