Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumstwo links being shown when diagrams are connected
https://www.eclipse.org/forums/index.php/mv/msg/49932/160158/#msg_160158
in my gmf project when i try to connect two diagrams it shows to links.
but i want one link ..
plz help me
thanks
Govind R.]]>govind2007-11-14T07:56:54-00:00Re: two links being shown when diagrams are connected
https://www.eclipse.org/forums/index.php/mv/msg/49932/160197/#msg_160197
Originally posted by: trommas.yahoo.com
govind wrote:
> hi all
>
> in my gmf project when i try to connect two diagrams it shows to links.
What do you mean by connect two diagrams. Do you mean figures? - In that
case you must specify in gmfgraph that you only want one of the links to
show graphically.
HTH,
Tomas Zijdemans
>
> but i want one link ..
>
> plz help me
> thanks
> Govind R.
>]]>2007-11-14T10:52:03-00:00Re: two links being shown when diagrams are connected
https://www.eclipse.org/forums/index.php/mv/msg/49932/160281/#msg_160281
Originally posted by: govind.ashrit.xxx.com
thanks..
but where exactly it will be..(as i am new to gmf)
can be bit in detail.
Thanks and Regards
Govind R]]>2007-11-14T13:59:42-00:00Re: two links being shown when diagrams are connected
https://www.eclipse.org/forums/index.php/mv/msg/49932/160305/#msg_160305
Originally posted by: govind.ashrit.xxx.com
hi..
i need to connect figures..
i think we need to specify in the gmfmap???
but where exactly in that.
Regards
Govind R.]]>2007-11-14T14:05:13-00:00Re: two links being shown when diagrams are connected
https://www.eclipse.org/forums/index.php/mv/msg/49932/160394/#msg_160394
Originally posted by: trommas.yahoo.com
govind wrote:
> hi..
>
> i need to connect figures..
> i think we need to specify in the gmfmap???
> but where exactly in that.
You should really look in the tutorial, depending on your knowledge. In
gmfgraph you specify graphical element (including links). In gmfmap you
combine the graphics with tools. Then you generate. But again, this is
all covered in the tutorial:
Tomas Zijdemans]]>2007-11-14T15:21:09-00:00Re: two links being shown when diagrams are connected
https://www.eclipse.org/forums/index.php/mv/msg/49932/160508/#msg_160508
Originally posted by: govind.ashrit.xxx.com
hi..
I have gone through documentation.
Let me explain..
In my project i have many figures
for ex:
fig1,fig2,fig3,fig4 etc.
when i connect fig 1 and fig 2 it creates a single connection.
my project has feature where in i can add fig 1 and fig2 in fig3
and when i try to connect fig1 and fig2 which are now in fig3 .it shows
two connections ..
hope i am clear
Regards
Govind R.]]>2007-11-15T05:00:45-00:00Re: two links being shown when diagrams are connected
https://www.eclipse.org/forums/index.php/mv/msg/49932/160520/#msg_160520
Originally posted by: biju_gopinathan.rediffmail.com
govind wrote:
> hi..
>
> I have gone through documentation.
> Let me explain..
>
> In my project i have many figures
>
> for ex:
>
> fig1,fig2,fig3,fig4 etc.
>
> when i connect fig 1 and fig 2 it creates a single connection.
>
> my project has feature where in i can add fig 1 and fig2 in fig3
>
> and when i try to connect fig1 and fig2 which are now in fig3 .it shows
> two connections ..
>
> hope i am clear
>
> Regards
> Govind R.]]>2007-11-15T06:37:05-00:00Re: two links being shown when diagrams are connected
https://www.eclipse.org/forums/index.php/mv/msg/49932/160831/#msg_160831
Originally posted by: govind.ashrit.xxx.com
> govind wrote:
>> hi..
>>
>> I have gone through documentation.
>> Let me explain..
>>
>> In my project i have many figures
>>
>> for ex:
>>
>> fig1,fig2,fig3,fig4 etc.
>>
>> when i connect fig 1 and fig 2 it creates a single connection.
>>
>> my project has feature where in i can add fig 1 and fig2 in fig3
>>
>> and when i try to connect fig1 and fig2 which are now in fig3 .it shows
>> two connections ..
>>
>> hope i am clear
>>
>> Regards
>> Govind R.
hi biju..
i gone through through that..
i couldn't get any clues...
Regards
Govind R.]]>2007-11-16T08:44:22-00:00Re: two links being shown when diagrams are connected
https://www.eclipse.org/forums/index.php/mv/msg/49932/160864/#msg_160864
Originally posted by: biju_gopinathan.rediffmail.com
Hi govind,
Did you try overriding:
CanonicalEditPolicy.shouldHandleNotificationEvent()return false;
Biju
govind wrote:
> biju wrote:
>
>> Hi Govind,
>
>> Check the following bug: this may help you
>
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=148021
>
>> Regards, Biju
>
>> govind wrote:
>>> hi..
>>>
>>> I have gone through documentation.
>>> Let me explain..
>>>
>>> In my project i have many figures
>>>
>>> for ex:
>>>
>>> fig1,fig2,fig3,fig4 etc.
>>>
>>> when i connect fig 1 and fig 2 it creates a single connection.
>>>
>>> my project has feature where in i can add fig 1 and fig2 in fig3
>>>
>>> and when i try to connect fig1 and fig2 which are now in fig3 .it
>>> shows two connections ..
>>>
>>> hope i am clear
>>>
>>> Regards
>>> Govind R.
> hi biju..
>
> i gone through through that..
> i couldn't get any clues...
>
>
> Regards
> Govind R.
>]]>2007-11-16T11:51:25-00:00Re: two links being shown when diagrams are connected
https://www.eclipse.org/forums/index.php/mv/msg/49932/162104/#msg_162104
Originally posted by: govind.ashrit.xxx.com
hi biju
Actually i dont have any method as shouldHandleNotificationEvent();
or if it has to be explicitly added..
Please help in this regard
Regards
Govind R]]>2007-11-22T16:11:23-00:00Re: two links being shown when diagrams are connected
https://www.eclipse.org/forums/index.php/mv/msg/49932/162218/#msg_162218
Originally posted by: biju_gopinathan.rediffmail.com
Hi Govind,
Check your edit policies, and look for one edit policy which
extends CanonicalConnectionEditPolicy, (That is, The CanonicalEditPolicy
of the container of your links). And there will only be one class that
extends CanonicalConnectionEditPolicy for your digram. In that class
overwirde CanonicalEditPolicy.shouldHandleNotificationEvent(), and
return false;
It worked for me earlier, when I faced the same problem, hope
it helps you.
Cheers, Biju
govind wrote:
> hi biju
>
> Actually i dont have any method as shouldHandleNotificationEvent();
>
> or if it has to be explicitly added..
> Please help in this regard
> Regards
> Govind R
>]]>2007-11-23T09:07:45-00:00Re: two links being shown when diagrams are connected
https://www.eclipse.org/forums/index.php/mv/msg/49932/162627/#msg_162627
Originally posted by: govind.ashrit.xxx.com
hi..biju
i did the same as u told.. its working,,,,
Thanks a lot...
looking forward for help from u...in future if required....
Thanks & Regards
Govind R.]]>2007-11-26T03:21:17-00:00Re: two links being shown when diagrams are connected
https://www.eclipse.org/forums/index.php/mv/msg/49932/1783318/#msg_1783318
i do not know how to deal with this problem]]>wang shiyu2018-03-12T02:09:45-00:00Re: two links being shown when diagrams are connected
https://www.eclipse.org/forums/index.php/mv/msg/49932/1783319/#msg_1783319
return false;
} ' this sentence,it works!
the result is showing one link but it still report the errors in console 'java.lang.IllegalArgumentException: Argument not valid']]>wang shiyu2018-03-12T02:38:40-00:00