Examples of initialise()


Examples of com.volantis.mcs.context.MarinerPageContext.initialise()

        DeviceLayoutContext dlc = pageContext.getDeviceLayoutContext();
        dlc.setInheritableStyleValues(immutablePropertyValues);

        try {
            // Initialise the canvas.
            pageContext.initialise(false, false, null, null,
                    widgetResponseElement.getThemeStyleSheets(), layoutName);
            pageContext.pushCanvasType(CanvasElementImpl.CANVAS_TYPE_MAIN);
            pageContext.updateFragmentationState();

            // Open the canvas page.
View Full Code Here

Examples of com.volantis.mcs.dissection.dom.DissectableContentHandler.initialise()

            logger.debug("Creating dissectable document for: " + path);
        }

        DissectableContentHandler contentHandler
            = new DissectableContentHandler();
        contentHandler.initialise(builder);
        XMLReader parser = getXMLReader();

        parser.setContentHandler(contentHandler);

        // Prevent the external DTD from being loaded.
View Full Code Here

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

     */
    public void testOpenPane() throws RepositoryException {
        privateSetUp();

        DOMOutputBuffer buffer = new DOMOutputBuffer();
        buffer.initialise();

        Element el = null;

        Pane pane = new Pane(null);
        pane.setName(PANE_NAME);
View Full Code Here

Examples of com.volantis.mcs.protocols.DeviceLayoutContext.initialise()

             // Create a context for the layout and push it onto the page context.
             DeviceLayoutContext deviceLayoutContext = new DeviceLayoutContext();
            
             deviceLayoutContext.setMarinerPageContext(pageContext);
             deviceLayoutContext.setDeviceLayout(anonymousLayout);
             deviceLayoutContext.initialise();
             pageContext.pushDeviceLayoutContext(deviceLayoutContext);
        
             // Get an instance of the layout's region.
             Region region = (Region) anonymousLayout.getRootFormat();
             RegionInstance anonymousRegionInstance = (RegionInstance)
View Full Code Here

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

                MCSMenuOrientationKeywords.VERTICAL);

        // initialise the buffer
        final TestDOMOutputBuffer buffer = new TestDOMOutputBuffer();
        testable.setCurrentBuffer(attributes.getEntryContainerInstance(), buffer);
        buffer.initialise();

        // select
        protocol.doSelectInput(attributes);

        // extract the result
View Full Code Here

Examples of com.volantis.mcs.protocols.TestDeviceLayoutContext.initialise()

        };
        TestDeviceLayoutContext dlc = new TestDeviceLayoutContext();
        dlc.setFormatInstance(pane, NDimensionalIndex.ZERO_DIMENSIONS, paneInstance);
        dlc.setMarinerPageContext(pageContext);
        dlc.setDeviceLayout(runtimeDeviceLayout);
        dlc.initialise();
        pageContext.pushDeviceLayoutContext(dlc);

        DissectingPaneAttributes atts = new DissectingPaneAttributes();
        atts.setDissectingPane(pane);
        atts.setInclusionPath(inclusionPath);
View Full Code Here

Examples of eu.admire.gateway.core.dispel.DistributedDISPELProcessor.initialise()

                   
                    DistributedDISPELProcessor processor =
                        new DistributedDISPELProcessor();
                    processor.registerRemoteProcessListener(this);
                    LOG.debug("Initialising distributed processors.");
                    processor.initialise(context, partitions, mErrors);
                    allResults.putAll(processor.getResults());
                    allExternalTransfers.putAll(processor.getExternalTransfers());
                    allManagedTransfers.putAll(processor.getManagedTransfers());
                    processors.add(processor);
                }
View Full Code Here

Examples of eu.admire.gateway.engine.DISPELGraphExecutor.initialise()

        //here register listener to final workflow - radek
        LOG.debug("registering workflow listener.");
        processor.registerListener(new WorkflowListener(context));
       
        LOG.debug("Initialising local process.");
        mFail = !processor.initialise(graph) || mFail;
        mLocalProcesses.add(processor);
    }
   
    @Override
    public void resultsReady(GatewayProcess process)
View Full Code Here

Examples of grails.core.DefaultGrailsApplication.initialise()

        gcl.parseClass("class Super { Long id;Long version;}\n" +
                       "class Sub extends Super { }\n" +
                       "class Sub2 extends Sub { }");

        GrailsApplication ga = new DefaultGrailsApplication(gcl.getLoadedClasses(),gcl);
        ga.initialise();

        GrailsDomainClass gdc1 = (GrailsDomainClass) ga.getArtefact(DomainClassArtefactHandler.TYPE, "Super");
        assertNotNull(gdc1);
        assertTrue(gdc1.isRoot());
        assertEquals(2,gdc1.getSubClasses().size());
View Full Code Here

Examples of grails.core.GrailsApplication.initialise()

        gcl.parseClass("class Super { Long id;Long version;}\n" +
                       "class Sub extends Super { }\n" +
                       "class Sub2 extends Sub { }");

        GrailsApplication ga = new DefaultGrailsApplication(gcl.getLoadedClasses(),gcl);
        ga.initialise();

        GrailsDomainClass gdc1 = (GrailsDomainClass) ga.getArtefact(DomainClassArtefactHandler.TYPE, "Super");
        assertNotNull(gdc1);
        assertTrue(gdc1.isRoot());
        assertEquals(2,gdc1.getSubClasses().size());
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.