|Re: Using different connections in the same viewer [message #78815 is a reply to message #78800]
||Thu, 08 May 2003 21:12
Originally posted by: none.us.ibm.com|
I hope you are using the factory.getObjectType() to distinguish between the
two types of connections.
"Stefan Junsved" <email@example.com> wrote in message
> I'm sorry for this question. It's been a long day and I know how to solve
> the problem.
> "Stefan Junsved" <firstname.lastname@example.org> wrote in message
> > Hi,
> > I'd like to use different connections in the same viewer, one with a
> > PolygonDecoration,
> > and one with no decoration at all. Now I use the
> > class
> > for both when creating my palette and the result is that all connections
> > created with
> > a PolygonDecoration. I have created two different classes derived from
> > AbstractConnectionEditPart but only one is used.
> > Is it possible to differentiate the connections when I create them in my
> > Palette? The
> > factory parameter to the ConnectionCreationToolEntry class is used for
> > model, not
> > the editpart...right??
> > Thanks
Powered by FUDForum
. Page generated in 0.03285 seconds