Hi,

On Wed, Feb 25, 2009 at 4:08 PM, Niclas Hedhman <[email protected]> wrote:
> On Wed, Feb 25, 2009 at 4:13 PM, Rickard Öberg <[email protected]> wrote:
>> Hey,
>>
>> I just had a look at the new Visualizer that Tonny is working on, and
>> let me just say this:
>>
>> WOW!
>>
>> Enough said. Check it out...
>
> I am not that convinced regarding the graphical view. "Layering" is
> lost in the MindMap renderer.

What is layering  ?

> I think the Method icons are incorrect. For instance, PersonEntity
> extends Person, which has the following methods;
>
>    PersonId personId();
>    String firstName();
>    String lastName();
>    Iterable<Role> roles();
>    void addRole( Role role );
>
> All these methods are "public" of the Composite and the icons as I
> understand them says "locked", what I think is "private".
>
> The "private" are the ones that are not exposed in the Composite
> interface, but part of a Mixin type used internally.
>

Yes, locked icon means private.

Is this how to check whether the methods is public or private ?

Class clazz = method().getDeclaringClass();
            if( Composite.class.isAssignableFrom( clazz ) )
            {
                // it is public methods
            }
            else
            {
               // it is private methods
            }


Cheers
Tonny Kohar

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to