Login | Register
My pages Projects Community openCollabNet

gef
Reply to message

* = Required fields
* Subject
* Body
Attachments
Send reply to
Topic
Author (directly in email)
Please type the letters in the image above.

Original message

Author dthompson
Full name Dave Thompson
Date 2008-12-04 13:58:25 PST
Message Hi All,

Does anyone else have the same problem? While trying to use a local working
copy of GEF compiled to work with ArgoUML, I get the following errors:

Description Resource Path Location Type
The constructor FigGroup(List<ArgoFig>) is undefined ArgoFigGroup.java
argouml-app/src/org/​argouml/uml/diagram/​ui line 74 Java Problem
The constructor FigGroup(List<ArgoFig>) is undefined ArgoFigGroup.java
argouml-app/src/org/​argouml/uml/diagram/​ui line 85 Java Problem
The constructor ArrayList<Compart​mentFigText>(List​<Fig>) is undefined
FigUseCase.java argouml-app/src/org/​argouml/uml/diagram/​use_case/ui line
1278 Java Problem

If I use the compiled GEF library, it works fine. It looks like

     public ArgoFigGroup(List​<ArgoFig> arg0) {
         super(arg0);
     }

Doesn't like calling super(arg0) because the super constructor wants a
List<Fig> not a List<ArgoFig>. I don't know how to resolve this, as a cast
to List<Fig> does not work (even though ArgoFig is a sub class of Fig).

It seems that this problem was introduced in rev1157 by Bob while converting
to use generics.

Regards,

Dave