Sounds perfectly right!
I think we should get you committer rights to so we get more eyes on
the code, check
http://wiki.neo4j.org/content/Code_Contributor%27s_Guide for the
details. We try to apply the same principles as OPS4J - "Wiki brought
to coding"
(http://wiki.ops4j.org/confluence/display/ops4j/Open+Participation+Software+for+Java)
with the addition of the CLA since this is AGPL licensed sotware.
So, get the CLA in place and IMHO commits go over patches :)
/peter
On Wed, Jun 4, 2008 at 7:02 PM, Anders Nawroth <[EMAIL PROTECTED]> wrote:
> Hi!
>
> What about showing the relationship type in the Neo Graph view of Neoclipse?
>
> Another suggestion is to replace the "Node" text in the graph and add some
> default property value instead (when it exists). The property should of
> course be configurable.
>
> I think this would be more useful in a pedagogic sense. See the attached
> screenshot (if it gets through).
>
> I don't know about the configuration stuff yet, but I made a quick
> implementation of the node labels (code pasted below). NeoGraphLabelProvider
> is the class.
>
> Should I add a ticket for this?
>
> /anders
>
> public String getText( Object element )
> {
> if ( element instanceof Node )
> {
> Node node = (Node) element;
> if ( node.getId() == 0 )
> {
> return "Reference Node";
> }
> else
> {
> return ((Node) element).getProperty( "NAME", "Node" ) + " ("
> + String.valueOf( ((Node) element).getId() ) + ")";
> }
> }
> else if ( element instanceof Relationship )
> {
> return ((Relationship) element).getType().toString() + " ("
> + String.valueOf( ((Relationship) element).getId() ) + ")";
> }
> return element.toString();
> }
>
>
>
> _______________________________________________
> Neo mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
>
--
GTalk: neubauer.peter
Skype peter.neubauer
ICQ 18762544
GTalk neubauer.peter
Phone +46704 106975
LinkedIn http://www.linkedin.com/in/neubauer
http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
_______________________________________________
Neo mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user