[mdr-users] proplem with the custom implementation of abstract classes

"ludger goeke" <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
Hi Martin,

I got still a proplem with the custom implementation of abstract classes.
I got the class Port that extends the abstract class StructuralFeature.
I create the custom implementation StructuralFeatureImpl 
that owns the method getText( ).

When I try to run the following code 

Port port =factory.createPort();  
port.getText();



 cannot resolve symbol
    [javac] symbol  : method getText ()
    [javac] location: interface uml2module.ports.Port
    [javac]          port.getText();

__________________________________________________

When I try to run the following code 

StructuralFeatureImpl feature =  factory.createPort();    

I get the following compiler error
incompatible types
    [javac] found   : uml2module.ports.Port
    [javac] required: impl.uml2module.kernel.StructuralFeatureImpl
    [javac]          StructuralFeatureImpl feature =  factory.createPort();


It seems that the Custom Implementation don`t get mentioned. 
Do you have an idea what could be the error ?

Regards Ludger

-- 
Handyrechnung zu hoch? Tipp: SMS und MMS mit GMX
Seien Sie so frei: Alle Infos unter http://www.gmx.net/de/go/freesms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.