Package org.qi4j.tools.model.descriptor

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


                        usage = new ServiceUsage( mixinDescriptor.composite(), descriptorField, mixinDescriptor.composite().module(), mixinDescriptor.composite().module().layer() );
                    }
                    else
                    {
                        // assume ObjectDetailDescriptor
                        ObjectDetailDescriptor objectDescriptor = (ObjectDetailDescriptor) ownerDescriptor;
                        usage = new ServiceUsage( objectDescriptor, descriptorField, objectDescriptor.module(), objectDescriptor.module().layer() );
                    }
                    usages.add( usage );
                }
            }
        }
View Full Code Here


                reload( mixinDescriptor.injectedFields() );
            }
        }
        else if( objectDesciptor instanceof ObjectDetailDescriptor )
        {
            ObjectDetailDescriptor descriptor = ( (ObjectDetailDescriptor) objectDesciptor );
            reload( descriptor.injectedFields() );
        }

        if( !fieldListModel.isEmpty() )
        {
            fieldList.setSelectedIndex( 0 );
View Full Code Here

        sortTypeChildren( iter );

        boolean first = true;
        for( Object obj : childList )
        {
            ObjectDetailDescriptor descriptor = (ObjectDetailDescriptor) obj;
            if( first )
            {
                String name = "Objects";
                parent = addChild( parent, name, name );
                first = false;
            }
            addChild( parent, descriptor.descriptor().toString(), descriptor );
        }
    }
View Full Code Here

                row.set( 3, mixinDescriptor.composite().module().layer() );
            }
            else
            {
                // assume ObjectDetailDescriptor
                ObjectDetailDescriptor objectDescriptor = (ObjectDetailDescriptor) usage.ownerDescriptor();
                row.set( 0, objectDescriptor );
                row.set( 1, usage.field() );
                row.set( 2, objectDescriptor.module() );
                row.set( 3, objectDescriptor.module().layer() );
            }
            rows.add( row );
        }
        return rows;
    }
View Full Code Here

TOP

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

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.