Package org.qi4j.tools.model.descriptor

Examples of org.qi4j.tools.model.descriptor.ApplicationDetailDescriptor


        {
            return null;
        }

        // traverse the appDescritor to find the configurationDescriptor
        ApplicationDetailDescriptor appDescriptor = descriptor.module().layer().application();
        Object obj = findConfigurationDescriptor( appDescriptor, configType );
        if( obj == null )
        {
            return null;
        }
View Full Code Here


        usages = new ArrayList<ServiceUsage>();

        this.descriptor = descriptor;

        // traverse the appDescritor/model to find the usage
        ApplicationDetailDescriptor appDescriptor = descriptor.module().layer().application();
        collectUsage( appDescriptor );

        return usages;
    }
View Full Code Here

    }

    public void reload()
    {
        // build the visitor which allow traverse qi4j model
        ApplicationDetailDescriptor visitor = ApplicationDetailDescriptorBuilder.createApplicationDetailDescriptor( model );
        DefaultTreeModel treeModel = new DefaultTreeModel( new TreeModelBuilder().build( visitor ) );
        applicationTree.setModel( treeModel );
    }
View Full Code Here

    }

    private void initEntityCombo( DefaultComboBoxModel entityComboModel )
    {
        // create the visitor to traverse the QI4J to find the module
        ApplicationDetailDescriptor visitor = ApplicationDetailDescriptorBuilder.createApplicationDetailDescriptor( model );

        // find all entities
        Iterable<LayerDetailDescriptor> layerDescIter = visitor.layers();
        for( LayerDetailDescriptor layerDesc : layerDescIter )
        {
            Iterable<ModuleDetailDescriptor> moduleDescIter = layerDesc.modules();
            for( ModuleDetailDescriptor moduleDesc : moduleDescIter )
            {
View Full Code Here

TOP

Related Classes of org.qi4j.tools.model.descriptor.ApplicationDetailDescriptor

Copyright © 2018 www.massapicom. 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.