Package org.qi4j.tools.model.descriptor

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


        sortTypeChildren( iter );

        boolean first = true;
        for( Object obj : childList )
        {
            ImportedServiceDetailDescriptor descriptor = (ImportedServiceDetailDescriptor) obj;
            if( first )
            {
                String name = "Imported Services";
                parent = addChild( parent, name, name );
                first = false;
            }
            addChild( parent, descriptor.descriptor().primaryType().getSimpleName(), descriptor );
        }
    }
View Full Code Here


        if( !( objectDesciptor instanceof ImportedServiceDetailDescriptor ) )
        {
            return;
        }

        ImportedServiceDetailDescriptor detailDescriptor = (ImportedServiceDetailDescriptor) objectDesciptor;
        ImportedServiceDescriptor descriptor = detailDescriptor.descriptor().importedService();

        Class<? extends ServiceImporter> importer = descriptor.serviceImporter();
        nameLabel.setText( importer.getSimpleName() );
        classLabel.setText( importer.toString() );
    }
View Full Code Here

TOP

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

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.