plz, tell me your suggestion! [message #237756] |
Wed, 08 August 2007 08:52 |
Eclipse User |
|
|
|
Originally posted by: minhyuk.kut.ac.kr
Hi! i am Univesity Student in Korea. I am working with GEF and EMF.
Our project is Editor for Graphical Programming Tools.
almost complete, but Connection is still problem.
our Connection Model is Oneway link. that means only object's input port
has reference of another object.
for example, Box Object have Local Id and Input Ports(1..*) and Output
Port(1..*),
Input port has reference Local id, relative position of Anchor Point.
Output port has only relative position of Anchor Point.
I override this method
{
getModelTargetConnections
getModelSourceConnections
} to connect them.
[1]----[2]-----[3] : it's easy!
[1]-----------[2] : it's ok! (same id is one object and many output)
[1]-----┘
[1]-----------[2] : it's not work..
└-------[2]
getModelTargetConnections makes list of String Element. this string
consist of
"refernceID/relative_Y_position" (this information from input port)
getModelSourceConnections's element is
"currentId/relative_Y_position" (this information from output port and
model id)
I think this String element is not good for connection.
I wanna know what element Type(or Datatype or Structure) is better than
String for this Type's Connection. do you have any idea?
PS. sorry! my English!(can read but can't write) I am Still Learning...
|:0)
|
|
|
Re: ASCII was Broken- repaired [message #237760 is a reply to message #237756] |
Wed, 08 August 2007 11:57 |
Eclipse User |
|
|
|
Originally posted by: minhyuk.kut.ac.kr
[1]----[2]-----[3] : it's easy!
[1]-----------[2] : it's ok! (same id is one object and many output)
[1]-----|
[1]-----------[2] : it's not work..
|-------[2]
|
|
|
Powered by
FUDForum. Page generated in 4.72311 seconds