Examples of activate()


Examples of org.amplafi.flow.impl.FlowActivityImpl.activate()

        expect(flow.getFlowState()).andReturn(flowState).anyTimes();
        expect(flow.getFlowPropertyDefinition(FlowConstants.FAINVISIBLE)).andReturn(new FlowPropertyDefinitionImpl(FlowConstants.FAINVISIBLE, boolean.class)).anyTimes();
        expect(flow.getFlowPropertyDefinition(FlowConstants.FSAUTO_COMPLETE)).andReturn(new FlowPropertyDefinitionImpl(FlowConstants.FSAUTO_COMPLETE, boolean.class)).anyTimes();
        obj.setFlow(flow);
        EasyMock.replay(flow, flowState);
        assertTrue(obj.activate(FlowStepDirection.inPlace));
        obj.setPageName("foo");
        assertFalse(obj.activate(FlowStepDirection.inPlace));
        obj.setPageName(null);
        assertTrue(obj.activate(FlowStepDirection.inPlace));
        obj.setComponentName("foo");
View Full Code Here

Examples of org.apache.axis2.client.Options.activate()

                restored = false;
                Options options_restored = (Options) inObjStream.readObject();
                inObjStream.close();
                inStream.close();

                options_restored.activate(configurationContext);

                restored = true;
                log.debug(
                        "OptionsSaveTest:testSaveAndRestore(): ....restored operation completed.....");
View Full Code Here

Examples of org.apache.axis2.context.MessageContext.activate()

       
        if(entry != null) {
          ByteArrayInputStream stream = new ByteArrayInputStream(entry.data);
          ObjectInputStream is = new ObjectInputStream(stream);
          messageContext = (MessageContext) is.readObject();
          messageContext.activate(entry.context);

          OperationContext opCtx = messageContext.getOperationContext();
          if(opCtx != null) {
            MessageContext inMsgCtx = opCtx.getMessageContext(WSDLConstants.MESSAGE_LABEL_IN_VALUE);
            if(inMsgCtx != null) {
View Full Code Here

Examples of org.apache.axis2.context.OperationContext.activate()

                restored = false;
                OperationContext opctx_restored = (OperationContext) inObjStream.readObject();
                inObjStream.close();
                inStream.close();

                opctx_restored.activate(configurationContext);

                restored = true;
                log.debug(
                        "OperationContextSaveTest:testSaveAndRestore(): ....restored operation completed.....");
View Full Code Here

Examples of org.apache.clerezza.triaxrs.JaxRsHandler.activate()

    handler.bindComponent(serviceRef1);

    Assert.assertFalse(isReachable(handler, "/test/a"));

    handler.bindBundlePrefixManager(manager);
    handler.activate(context);

    Assert.assertTrue(isReachable(handler, "/test/a"));

    handler.unbindBundlePrefixManager(manager);
View Full Code Here

Examples of org.apache.directory.ldapstudio.browser.ui.valueeditors.AbstractDialogValueEditor.activate()

            if ( valueEditor instanceof AbstractDialogValueEditor )
            {
                AbstractDialogValueEditor cellEditor = ( AbstractDialogValueEditor ) valueEditor;
                cellEditor.setValue( rawValue );
                cellEditor.activate();
                Object newValue = cellEditor.getValue();

                if ( newValue != null && newValue instanceof String || newValue instanceof byte[] )
                {
                    IDocument document = editor.getDocumentProvider().getDocument( editor.getEditorInput() );
View Full Code Here

Examples of org.apache.directory.ldapstudio.valueeditors.AbstractDialogValueEditor.activate()

            if ( valueEditor instanceof AbstractDialogValueEditor )
            {
                AbstractDialogValueEditor cellEditor = ( AbstractDialogValueEditor ) valueEditor;
                cellEditor.setValue( rawValue );
                cellEditor.activate();
                Object newValue = cellEditor.getValue();

                if ( newValue != null && newValue instanceof String || newValue instanceof byte[] )
                {
                    IDocument document = editor.getDocumentProvider().getDocument( editor.getEditorInput() );
View Full Code Here

Examples of org.apache.directory.studio.test.integration.ui.bots.EntryEditorBot.activate()

    public void testAddEditDeleteAttribute() throws Exception
    {
        browserViewBot.selectEntry( "DIT", "Root DSE", "ou=system", "ou=users", "cn=Barbara Jensen" );

        EntryEditorBot entryEditorBot = studioBot.getEntryEditorBot( "cn=Barbara Jensen,ou=users,ou=system" );
        entryEditorBot.activate();
        String dn = entryEditorBot.getDnText();
        assertEquals( "DN: cn=Barbara Jensen,ou=users,ou=system", dn );
        assertEquals( 8, entryEditorBot.getAttributeValues().size() );
        assertEquals( "", modificationLogsViewBot.getModificationLogsText() );
View Full Code Here

Examples of org.apache.directory.studio.test.integration.ui.bots.SearchResultEditorBot.activate()

        dialogBot.setReturningAttributes( "objectClass, uid, description" );
        dialogBot.clickSearchButton();
        browserViewBot.selectEntry( "Searches", "Search Admin" );

        SearchResultEditorBot srEditorBot = studioBot.getSearchResultEditorBot( "Search Result Editor" );
        srEditorBot.activate();
        assertTrue( srEditorBot.isEnabled() );

        // assert that description attribute is empty
        assertEquals( "uid=admin,ou=system", srEditorBot.getContent( 1, 1 ) );
        assertEquals( "", srEditorBot.getContent( 1, 4 ) );
View Full Code Here

Examples of org.apache.directory.studio.valueeditors.AbstractDialogValueEditor.activate()

            if ( valueEditor instanceof AbstractDialogValueEditor )
            {
                AbstractDialogValueEditor cellEditor = ( AbstractDialogValueEditor ) valueEditor;
                cellEditor.setValue( rawValue );
                cellEditor.activate();
                Object newValue = cellEditor.getValue();

                if ( newValue != null && newValue instanceof String || newValue instanceof byte[] )
                {
                    IDocument document = editor.getDocumentProvider().getDocument( editor.getEditorInput() );
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.