How to make a specific connection in GEF [message #242846] |
Fri, 09 May 2008 21:10 |
Eclipse User |
|
|
|
Originally posted by: yifanzhou.gmx.de
Hi,
I just have a question. For instance in my Palette I have
1. Three types of Models
- Model A
- Model B
- Model C
2. One connection.
I drawed some Models A, Models B and Models C into my GEF editor, and then,
when I'm choosing the connection in my palette, the following requirement
should be sufficed:
the connection can only created between B and C, it doesn't matter which
direction. That means if I focus my cursor on the Model A, it's not allowed
to create the source connection or target connection.
regards
yifan
|
|
|
Re: How to make a specific connection in GEF [message #242856 is a reply to message #242846] |
Sat, 10 May 2008 11:36 |
Eclipse User |
|
|
|
Originally posted by: yifanzhou.gmx.de
I Solved it
yifan
"Yifan Zhou" <yifanzhou@gmx.de> wrote in message
news:g02ejj$qlt$1@build.eclipse.org...
> Hi,
>
> I just have a question. For instance in my Palette I have
>
> 1. Three types of Models
> - Model A
> - Model B
> - Model C
> 2. One connection.
>
> I drawed some Models A, Models B and Models C into my GEF editor, and
> then, when I'm choosing the connection in my palette, the following
> requirement should be sufficed:
>
> the connection can only created between B and C, it doesn't matter which
> direction. That means if I focus my cursor on the Model A, it's not
> allowed to create the source connection or target connection.
>
> regards
> yifan
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03672 seconds