question on connection restrictions [message #207940] |
Tue, 24 January 2006 14:27 |
Eclipse User |
|
|
|
Originally posted by: dstanciu.gmail.com
Hi,
I have some nodes in an application and some connections between them. Each node and each connection has a model. When I create a connection, I want to be able to block the attachment of the connection to a specific source node, based on the properties of the node model and the new connection model. However, I could not find any method that will allow me to do this.
Please help.
Thanks.
|
|
|
Re: question on connection restrictions [message #207949 is a reply to message #207940] |
Tue, 24 January 2006 16:06 |
Eclipse User |
|
|
|
Originally posted by: vinusemail.gmail.com
Hi Daniel,
How about overriding the canExecute() method of your Connection
creation command?
- Regards
Vinu Varghese
Daniel Stanciu wrote:
> Hi,
>
> I have some nodes in an application and some connections between them. Each node and each connection has a model. When I create a connection, I want to be able to block the attachment of the connection to a specific source node, based on the properties of the node model and the new connection model. However, I could not find any method that will allow me to do this.
> Please help.
>
> Thanks.
|
|
|
Re: question on connection restrictions [message #207957 is a reply to message #207949] |
Tue, 24 January 2006 16:28 |
Eclipse User |
|
|
|
Originally posted by: dstanciu.gmail.com
Hi,
I tried that and it is working but not as I would like it to. If I do that, it connects it to the source node but I cannot connect it to any destination node. What I want is not to be able to connect it even to the source node.
Thanks,
Daniel
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01936 seconds