Login | Register
My pages Projects Community openCollabNet

Discussions > dev > [gef-dev] Problem drawing n-ary assocs

gef
Discussion topic

Hide all messages in topic

All messages in topic

Re: [gef-dev] Problem drawing n-ary assocs

Reply

Author bobtarling
Full name Bob Tarling
Date 2004-12-29 09:12:37 PST
Message Is there an existing issue for this?
If not create one and I'll make sure it gets in.
I'll create accessor methods rather than expose internal variables.

I'll try and get a release out tomorrow or the day after.


On Wed, 29 Dec 2004 17:46:47 +0100 (CET), Jose Luis Sanchez
<pepargouml at yahoo dot es> wrote:
> Hi,
> Please, don't forget to set all the ModeCreatePolyEdge
> fiels to protected. As I am overriding this Mode, I
> cannot use newedge or startportfig variables for
> example, because they are private. Or at least, a
> setter and getter for all of them.
> Errr,... could you tell me when I could download this
> new GEF release to be used with ArgoUML?
> Thanks and regards,
> Jose
>
> --- Bob Tarling <bob dot tarling at gmail dot com> escribió:
> > Thanks for that.
> >
> > I'll add FigDiamond to core GEF and get a release
> > out pretty soon.
> >
> > ArgoUML could reuse it also on activity diagrams
> >
> >
> --------------------​--------------------​--------------------​---------
> > To unsubscribe, e-mail:
> > dev-unsubscribe at gef dot tigris dot org
> > For additional commands, e-mail:
> > dev-help at gef dot tigris dot org
> >
> >
>
> ____________________​____________________​______
> Renovamos el Correo Yahoo!: ¡250 MB GRATIS!
> Nuevos servicios, más seguridad
> http://correo.yahoo.es
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe at gef dot tigris dot org
> For additional commands, e-mail: dev-help at gef dot tigris dot org
>
>

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe at gef dot tigris dot org
For additional commands, e-mail: dev-help at gef dot tigris dot org

Re: [gef-dev] Problem drawing n-ary assocs

Reply

Author kolepep
Full name Jose Luis Sanc
Date 2004-12-29 08:46:47 PST
Message Hi,
Please, don't forget to set all the ModeCreatePolyEdge
fiels to protected. As I am overriding this Mode, I
cannot use newedge or startportfig variables for
example, because they are private. Or at least, a
setter and getter for all of them.
Errr,... could you tell me when I could download this
new GEF release to be used with ArgoUML?
Thanks and regards,
Jose


 --- Bob Tarling <bob dot tarling at gmail dot com> escribió:
> Thanks for that.
>
> I'll add FigDiamond to core GEF and get a release
> out pretty soon.
>
> ArgoUML could reuse it also on activity diagrams
>
>
--------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail:
> dev-unsubscribe at gef dot tigris dot org
> For additional commands, e-mail:
> dev-help at gef dot tigris dot org
>
>


    
    
        
____________________​____________________​______
Renovamos el Correo Yahoo!: ¡250 MB GRATIS!
Nuevos servicios, más seguridad
http://correo.yahoo.es

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe at gef dot tigris dot org
For additional commands, e-mail: dev-help at gef dot tigris dot org

Re: [gef-dev] Problem drawing n-ary assocs

Reply

Author bobtarling
Full name Bob Tarling
Date 2004-12-28 15:26:22 PST
Message Thanks for that.

I'll add FigDiamond to core GEF and get a release out pretty soon.

ArgoUML could reuse it also on activity diagrams

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe at gef dot tigris dot org
For additional commands, e-mail: dev-help at gef dot tigris dot org

Re: [gef-dev] Problem drawing n-ary assocs

Reply

Author kolepep
Full name Jose Luis Sanc
Date 2004-12-28 15:18:30 PST
Message Uff, ok, it worked, thanks.
I have commited changes to GEFDemo as well.

And, what about your FigDiamond class?
It is perfect to draw rhombs (I have been testing
FigPoly and its 'setbounds' isn't for rhombs).

I would like to see it in GEF so I can use it in
ArgoUML. If not, I will have to add some kind of
FigDiamond to ArgoUML code.

Greetings,
Jose

 --- Bob Tarling <bob dot tarling at gmail dot com> escribió:
> I believe the trick is to override the
> getGravityPoints method on your Fig
>
> In ArgoUML see FigActor, FigUseCase, FigLinkPort and
> FigFinalState
>
> Please commit changes to gefdemo also.
>
> Cheers
>
> Bob.
>
>
--------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail:
> dev-unsubscribe at gef dot tigris dot org
> For additional commands, e-mail:
> dev-help at gef dot tigris dot org
>
>


        
____________________​____________________​______
Renovamos el Correo Yahoo!: ¡250 MB GRATIS!
Nuevos servicios, más seguridad
http://correo.yahoo.es

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe at gef dot tigris dot org
For additional commands, e-mail: dev-help at gef dot tigris dot org

Re: [gef-dev] Problem drawing n-ary assocs

Reply

Author bobtarling
Full name Bob Tarling
Date 2004-12-28 11:11:28 PST
Message I believe the trick is to override the getGravityPoints method on your Fig

In ArgoUML see FigActor, FigUseCase, FigLinkPort and FigFinalState

Please commit changes to gefdemo also.

Cheers

Bob.

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe at gef dot tigris dot org
For additional commands, e-mail: dev-help at gef dot tigris dot org

[gef-dev] Problem drawing n-ary assocs

Reply

Author kolepep
Full name Jose Luis Sanc
Date 2004-12-28 11:02:09 PST
Message Hi,
I have a simple problem while drawing a rhomb for a
n-ary association end. You can see the drawing.

When the figedges that represent the association ends
are drawn, they don't "touch" the rhomb's perimeter.
I have been testing several things,
setnearestpoitns(true) is called and the fig is more
or less the same as a simple junctionstate but I can't
find which is the problem.

Any advice? Does anyone know which is the proper
function that must be called or implemented to get the
edges "touching" the rhomb's perimeter?

Thanks and greetings,
Jose


    
    
        
____________________​____________________​______
Renovamos el Correo Yahoo!: ¡250 MB GRATIS!
Nuevos servicios, más seguridad
http://correo.yahoo.es
Attachments
Messages per page: