|
|
|
Re: Tree style routing [message #470236 is a reply to message #470232] |
Tue, 01 May 2007 01:37 |
Pradeep Messages: 61 Registered: July 2009 |
Member |
|
|
Hi Machael,
Here is an example demonstrating the treestyle routing.
BTW, uml2 editor is great and I can live without that Tree style routing. I
just wanted to know whether I am missing something as the button is not
getting highlighted.
Thanks
Pradeep
"Michael Golubev" <michael.golubev@borland.com> wrote in message
news:80ef4340a5c58c95947917fd977@news.eclipse.org...
Hello,
The method
org.eclipse.gmf.runtime.diagram.ui.actions.internal.RouterAc tion#calculateEnabled()
(line 127) returns false in case any of the selected link edit parts
don't implement the marker ITreeBranchEditPart interface.
Since GMF always generates links that implements ConnectionEditPart but not
ITreeBranchEditPart,
this action is always disabled on the GMF-generated diagrams.
I have just manually added this interface for GeneralizationEditPart and
have seen the attached screenshot.
Can not state for sure that it is worth adding, but we can tweak UML2Tools
generator to add this marker interface for any/some of links.
Does it make sense?
Regards,
Michael
> Hello Pradeep,
>
> Looks like general GMF issue. To be honest, I never seen it for any of
> links on any kind of diagrams. I even don't have any ideas on how it
> _should_ look in case of tree-routing style.
>
> Feel free to submit bugzilla for either UML2Tools or directly to GMF
> for this.
>
> Regards, Michael
>
>> I have a situation where 4 classes inherit from a class. I want the
>> connectors to be tree style. Although I can see the option in the
>> toolbar, it is never enabled. What should I do to enable it.
>>
>> I did try selecting all the links between subclasses and superclass
>> which is what I do in Rational Softwrae modeler.
>>
>> Pradeep
>>
|
|
|
|
|
Re: Tree style routing [message #588854 is a reply to message #470232] |
Tue, 01 May 2007 01:37 |
Pradeep Messages: 61 Registered: July 2009 |
Member |
|
|
Hi Machael,
Here is an example demonstrating the treestyle routing.
BTW, uml2 editor is great and I can live without that Tree style routing. I
just wanted to know whether I am missing something as the button is not
getting highlighted.
Thanks
Pradeep
"Michael Golubev" <michael.golubev@borland.com> wrote in message
news:80ef4340a5c58c95947917fd977@news.eclipse.org...
Hello,
The method
org.eclipse.gmf.runtime.diagram.ui.actions.internal.RouterAc tion#calculateEnabled()
(line 127) returns false in case any of the selected link edit parts
don't implement the marker ITreeBranchEditPart interface.
Since GMF always generates links that implements ConnectionEditPart but not
ITreeBranchEditPart,
this action is always disabled on the GMF-generated diagrams.
I have just manually added this interface for GeneralizationEditPart and
have seen the attached screenshot.
Can not state for sure that it is worth adding, but we can tweak UML2Tools
generator to add this marker interface for any/some of links.
Does it make sense?
Regards,
Michael
> Hello Pradeep,
>
> Looks like general GMF issue. To be honest, I never seen it for any of
> links on any kind of diagrams. I even don't have any ideas on how it
> _should_ look in case of tree-routing style.
>
> Feel free to submit bugzilla for either UML2Tools or directly to GMF
> for this.
>
> Regards, Michael
>
>> I have a situation where 4 classes inherit from a class. I want the
>> connectors to be tree style. Although I can see the option in the
>> toolbar, it is never enabled. What should I do to enable it.
>>
>> I did try selecting all the links between subclasses and superclass
>> which is what I do in Rational Softwrae modeler.
>>
>> Pradeep
>>
|
|
|
Powered by
FUDForum. Page generated in 0.04359 seconds