Examples of populate()


Examples of org.jbpm.formapi.client.form.FBFormItem.populate()

            remove(item);
            bus.fireEvent(new FormItemRemovedEvent(item));
        }
        for (FormItemRepresentation itemRep : rep.getFormItems()) {
            FBFormItem item = FBFormItem.createItem(itemRep);
            item.populate(itemRep);
            add(item);
            ensureMinimumSize(item);
            bus.fireEvent(new FormItemAddedEvent(item, this));
        }
        for (FBValidation validationRep : rep.getFormValidations()) {
View Full Code Here

Examples of org.jbpm.formbuilder.client.form.FBForm.populate()

    public void testUpdateFormView() throws Exception {
        final FormRepresentation formRep = new FormRepresentation();
        FBForm mockForm = EasyMock.createMock(FBForm.class);
        EasyMock.expect(view.getFormDisplay()).andReturn(mockForm).anyTimes();
        EasyMock.expect(mockForm.createRepresentation()).andReturn(formRep);
        mockForm.populate(formRep);
        EasyMock.expectLastCall().once();
       
        bus.addHandler(UndoableEvent.TYPE, new UndoableHandler() {
            @Override
            public void undoAction(UndoableEvent event) { }
View Full Code Here

Examples of org.jitterbit.application.ui.menu.Menu.populate()

            @Override
            public void actionPerformed(ActionEvent e) {
                MenuManager mgr = m_TreeMapper.getView().getMenuManager();
                Menu menu = mgr.getMenu(InterchangeMenus.MAP_AREA_SETTINGS);
                JPopupMenu popup = new JPopupMenu();
                menu.populate(popup);
                m_TreeMapper.showPopupMenu(popup);
            }
      };
      if(m_TreeMapper!=null)m_TreeMapper.registerKeyboardShortCut(KeyUtils.getCtrlDown(KeyEvent.VK_M), "displaySettings", action);
  }
View Full Code Here

Examples of org.jitterbit.integration.client.ui.interchange.entity.transformation.menu.EditTransformationMenu.populate()

    }

    private JPopupMenu createPopup() {
        Menu menu = new EditTransformationMenu(page);
        JPopupMenu pm = new JPopupMenu();
        menu.populate(pm);
        return pm;
    }
}
View Full Code Here

Examples of org.jpox.enhancer.bcel.metadata.BCELClassMetaData.populate()

        loader.defineClass(fullClassName, getBytes(), clr);

        // Create MetaData for the implementation
        ClassMetaData implementationCmd = new BCELClassMetaData((InterfaceMetaData)inputCmd, className, javaClass);
        ClassLoaderResolver genclr = new JDOClassLoaderResolver(loader);
        implementationCmd.populate(genclr, null);
        implementationCmd.initialise();

        //enhance the class
        ClassEnhancer gen = new BCELClassEnhancer(implementationCmd, genclr);
        gen.enhance();
View Full Code Here

Examples of org.jpox.metadata.ClassMetaData.populate()

        loader.defineClass(fullClassName, getBytes(), clr);

        // Create MetaData for the implementation
        ClassMetaData implementationCmd = new BCELClassMetaData((InterfaceMetaData)inputCmd, className, javaClass);
        ClassLoaderResolver genclr = new JDOClassLoaderResolver(loader);
        implementationCmd.populate(genclr, null);
        implementationCmd.initialise();

        //enhance the class
        ClassEnhancer gen = new BCELClassEnhancer(implementationCmd, genclr);
        gen.enhance();
View Full Code Here

Examples of org.jpox.metadata.ClassMetaData.populate()

        }
        else
        {
            implementationCmd = new ClassMetaData((ClassMetaData)inputCmd, className);
        }
        implementationCmd.populate(genclr, null);
        implementationCmd.initialise();

        // enhance the class and update the byte definition
        ClassEnhancer gen = new ASMClassEnhancer(implementationCmd, genclr, getBytes());
        gen.enhance();
View Full Code Here

Examples of org.jpox.metadata.ClassMetaData.populate()

        {
            PackageMetaData pmd = filemd.getPackage(i);
            for (int j=0; j<pmd.getNoOfClasses(); j++)
            {
                ClassMetaData cmd = pmd.getClass(j);
                cmd.populate(clr, null);
                cmd.initialise();
            }
        }

        // Enhance the classes
View Full Code Here

Examples of org.jpox.metadata.InterfaceMetaData.populate()

        {
            // Make sure that anything returned is initialised
            if (!imd.isPopulated() && !imd.isInitialised())
            {
                // Initialise the interface in question
                imd.populate(clr,c.getClassLoader());
            }
            // Make sure that anything returned is initialised
            if (!imd.isInitialised())
            {
                // Initialise the interface in question
View Full Code Here

Examples of org.jruby.anno.TypePopulator.populate()

                if (DEBUG) System.out.println("Could not find it, using default populator");
                populator = TypePopulator.DEFAULT;
            }
        }
       
        populator.populate(this, clazz);
    }

    @Deprecated
    private void defineAnnotatedMethodsIndexed(Class clazz) {
        MethodFactory methodFactory = MethodFactory.createFactory(getRuntime().getJRubyClassLoader());
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.