Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Problem with edge adding

gef
Discussion topic

Back to topic list

Problem with edge adding

Reply

Author mniederj at gmx dot de
Full name mniederj at gmx dot de
Date 2000-06-07 09:30:05 PDT
Message Greetings!

I have a problem when generating edges and then adding
them to the DefaultGraphModel. I use following code:

NetEdge ned = (NetEdge)
Class.forName("UMLEd​ge").newInstance();
System.out.println("Ned: "+ned);
System.out.println("Ok: "+dgm.canAddEdge(ned));
System.out.println("​Pre:"+ned.makePresen​tation(aktivesLayer(​)));

// when executing the below statement a
// NullPointerException raises

dgm.addEdge(ned);

Does anyone have a clue on this?! Any help would be
appreciated (as always). Regards,

Michael

« Previous message in topic | 1 of 4 | Next message in topic »

Messages

Show all messages in topic

Problem with edge adding mniederj at gmx dot de mniederj at gmx dot de 2000-06-07 09:30:05 PDT
     RE: [gef-dev] Problem with edge adding Austin Bingham <abingham at lips dot utexas dot edu> Austin Bingham <abingham at lips dot utexas dot edu> 2000-06-07 11:10:50 PDT
         RE: [gef-dev] Problem with edge adding mniederj at gmx dot de mniederj at gmx dot de 2000-06-08 05:12:11 PDT
             RE: [gef-dev] Problem with edge adding Austin Bingham <abingham at lips dot utexas dot edu> Austin Bingham <abingham at lips dot utexas dot edu> 2000-06-08 07:42:45 PDT
Messages per page: