Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » How is AbstractBorderedShapeEditPart generated in UML tools ?
How is AbstractBorderedShapeEditPart generated in UML tools ? [message #470861] Thu, 24 May 2007 19:44 Go to next message
Eclipse UserFriend
Originally posted by: claudiu_popescu.rogers.com

In org.eclipse.uml2.diagram.component.edit.parts I found

ClassEditPart extends AbstractBorderedShapeEditPart

This code is generated (it has generated createdMainFigure() )

How did you generate AbstractBorderedShapeEditPart instead of the
ShapeNodeEditPart, like in the tutorial for MindMap ?

Is it a trick in .gmfgen ? (I looked into componentDiagram.gmfgen, but I
could not find anythimg).



Thank you.
Re: How is AbstractBorderedShapeEditPart generated in UML tools ? [message #470872 is a reply to message #470861] Fri, 25 May 2007 14:24 Go to previous message
Eclipse UserFriend
Originally posted by: claudiu_popescu.rogers.com

I found the solution.
In .gmfgraph, I modified a property of the Node which must be on the border.
The property is "Affixed Parent Side", which I changed from NONE to anything
else and it worked.

Quite hidden relation !

I got this hint from the posting:
http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg05413.html


"Claude Popescu" <claudiu_popescu@rogers.com> wrote in message
news:f34pvr$vvi$1@build.eclipse.org...
> In org.eclipse.uml2.diagram.component.edit.parts I found
>
> ClassEditPart extends AbstractBorderedShapeEditPart
>
> This code is generated (it has generated createdMainFigure() )
>
> How did you generate AbstractBorderedShapeEditPart instead of the
> ShapeNodeEditPart, like in the tutorial for MindMap ?
>
> Is it a trick in .gmfgen ? (I looked into componentDiagram.gmfgen, but I
> could not find anythimg).
>
>
>
> Thank you.
>
>
Re: How is AbstractBorderedShapeEditPart generated in UML tools ? [message #594772 is a reply to message #470861] Fri, 25 May 2007 14:24 Go to previous message
Eclipse UserFriend
Originally posted by: claudiu_popescu.rogers.com

I found the solution.
In .gmfgraph, I modified a property of the Node which must be on the border.
The property is "Affixed Parent Side", which I changed from NONE to anything
else and it worked.

Quite hidden relation !

I got this hint from the posting:
http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg05413.html


"Claude Popescu" <claudiu_popescu@rogers.com> wrote in message
news:f34pvr$vvi$1@build.eclipse.org...
> In org.eclipse.uml2.diagram.component.edit.parts I found
>
> ClassEditPart extends AbstractBorderedShapeEditPart
>
> This code is generated (it has generated createdMainFigure() )
>
> How did you generate AbstractBorderedShapeEditPart instead of the
> ShapeNodeEditPart, like in the tutorial for MindMap ?
>
> Is it a trick in .gmfgen ? (I looked into componentDiagram.gmfgen, but I
> could not find anythimg).
>
>
>
> Thank you.
>
>
Previous Topic:One more page in New Diagram Wizard ?
Next Topic:Patch submitted for ClassD stereotype and profile application
Goto Forum:
  


Current Time: Tue Mar 19 10:12:31 GMT 2024

Powered by FUDForum. Page generated in 0.01685 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top