Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Model-Editpart-View
Model-Editpart-View [message #224236] Thu, 12 October 2006 10:59 Go to next message
Eclipse UserFriend
Originally posted by: tom.parker.gmail.com

Hi,

the problem is stated below:
model element: org.eclipse.uml2.comment
requirement: 2 figures for this model element
so editpart required: 1 or 2

Can 2 figures be associated with 1 editpart?
if yes,then how?
if no,that means I have to create 2 editparts.
Now the question is,in the editpart factory how do I create 2 editparts
for the same model element?

Thanks,
Tom
Re: Model-Editpart-View [message #224284 is a reply to message #224236] Fri, 13 October 2006 08:19 Go to previous message
Andreas Werner is currently offline Andreas WernerFriend
Messages: 55
Registered: July 2009
Member
Tom schrieb:
> Hi,
>
> the problem is stated below:
> model element: org.eclipse.uml2.comment
> requirement: 2 figures for this model element
> so editpart required: 1 or 2
>
> Can 2 figures be associated with 1 editpart?
> if yes,then how?
> if no,that means I have to create 2 editparts.
> Now the question is,in the editpart factory how do I create 2 editparts
> for the same model element?
>
> Thanks,
> Tom
>
>
Hi Tom,

what about one figure with two figures inside?

Or do they appear not simultaneously? If so, you could change the
painting of only one figure, when it's necessary.

Regards, Andreas
Previous Topic:Call Cursor Position & IFigure @ ConnectionCreateEditPolicy
Next Topic:Treeviewer
Goto Forum:
  


Current Time: Fri Apr 19 00:03:26 GMT 2024

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

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

Back to the top